What about:
Code:select a.count, b.count, a.count-b.count diff from ( select count(*) count from table A ) a ( select count(*) count from table B ) b;
|
Results 1 to 3 of 3
Threaded View
|
Click Here to Expand Forum to Full Width |