📜  openquery 连接两个表 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:28.734000             🧑  作者: Mango

代码示例1
Select Pants.Long, Pants.Short,
    Shirts.White, Shirts.Black
  From OpenQuery(PANTS, 'Select Long, Short From Jeans') As Pants
  Join OpenQuery(SHIRTS, 'Select White, Black, Long From Stores') As Shirts 
    On Pants.Long = Shirts.Long;