Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. Select Distinct C.Code, AT.Code
  2. FROM dbo.astComponents C
  3. JOIN dbo.astAssetTypes AT ON AT.Id = C.AssetTypeId
  4.  
  5. WHERE (C.Code= '0738.D100' AND AT.Code = '0738.M00_03.03') Or (C.Code= '0738.D101' AND AT.Code = '0738.L00_04.04')
  6.  
  7. Except Select C.Code, AT.Code From astComponents C Join astAssetTypes AT ON AT.Id = C.AssetTypeId
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement