OpenQuery Dołącz do dwóch tabel
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;
Code with bulbul