Hi I have the following union query that retrieves two counts. Can I
sum them up within this query, like wrap this in a sum function
somehow to get the total count? Or is there a better way to do this.
Please help. Using SQL 2000.
select count(user_id) from table1
UNION
select count(user_id) from table2
sum them up within this query, like wrap this in a sum function
somehow to get the total count? Or is there a better way to do this.
Please help. Using SQL 2000.
select count(user_id) from table1
UNION
select count(user_id) from table2
Comment