How to sum two queries up
If I perform this query
select count(*) total
from table1
UNION
select count(*) total
from table2
I get something like this
TOTAL
--------
100
150
What I'd like to get is an unique row
TOTAL
--------
250
Any advice?
Thanks!
Edited by: Mark1970 on 8-lug-2010 5.29