http://www.w3schools.com/sql/sql_view.asp

SQL CREATE VIEW Syntax

 

CREATE VIEW view_name AS
SELECT column_name(s)
FROM table_name
WHERE condition

Create(Alter) view Testestst1

 

 

 

as

SELECT Test1.Id, Test2.Id As IDD


 

 

from Test1


 

 

inner join Test2 on Test1.Id = Test2.Id where Test1.Id = 1 and Test2.Name = '11'

相关文章:

  • 2021-12-15
  • 2021-08-12
  • 2022-01-16
  • 2021-12-27
  • 2022-12-23
  • 2021-07-04
  • 2021-11-01
  • 2021-06-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-12
  • 2021-07-02
  • 2021-06-18
相关资源
相似解决方案