Feb 5, 2010 #1 pandatime Programmer Joined Jan 29, 2010 Messages 92 Location AU Hi, is there a way to do this? select count(*) from tab1 - select count(*) from tab2 ? Thanks
Feb 5, 2010 1 #2 gmmastros Programmer Joined Feb 15, 2005 Messages 14,912 Location US This should do the trick: Code: select (select count(*) from tab1) - (select count(*) from tab2) as [yourAnswer] -George "The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom Upvote 0 Downvote
This should do the trick: Code: select (select count(*) from tab1) - (select count(*) from tab2) as [yourAnswer] -George "The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom