到目前为止,我们介绍了单张表的例子,下面将引入一些新的元素:连接。分析以下查询:

SELECT e . [Title],
   2:         a. [City] , 
AS EmployeeName 
FROM    [HumanResources]. [Employee] e 
ON e. [EmployeeID]   
   6: =  ed . [EmployeeID] 
ON [ed]. [AddressID] =  
   8: [a] . [AddressID] 
ON e. [ContactID] =  
  10: c . [ContactID]

相关文章:

  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2021-06-19
  • 2021-06-10
  • 2021-08-19
  • 2021-06-14
  • 2021-07-19
猜你喜欢
  • 2021-10-15
  • 2022-12-23
  • 2021-06-19
  • 2021-06-10
  • 2021-11-24
相关资源
相似解决方案