Advertisement
Guest User

Untitled

a guest
Jul 15th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. select bct_cde, count(*) as count from CIRLBL_R
  2. where pub_cde = 'WHO' and isu_dte = '2019-05-20'
  3. group by bct_cde
  4.  
  5. select * from CIRLBL_R
  6. where pub_cde = 'WHO'
  7. and isu_dte = '2019-05-20'
  8. and sub_ref not in (select sub_ref from AdvDbPACF_TST.dbo.CIRLBL_R where pub_cde = 'WHO' and isu_dte = '2019-05-20')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement