Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

sum across tables?????

edited June 2008 in General
is it possible to sum across two tables?

i have the following two statements

select sum(current_Amount) as "Sum1" from md_AR_Pending;

select sum(current_Amount) as "Sum1" from tr_AR_Pending;




is it possible to combine them?


I want to use reportbuilder to show the total of the
currentAmount field from the two tables (md_AR_Pending, tr_AR_Pending);


I want to do this with counts as well

select count (*) as "Count1" from md_Ar_Pending;
select count (*) as "Count2" from tr_Ar_Pending


thanks

shane

Comments

This discussion has been closed.