It seems like a simple enough query.
What is the issue?
Code:select name, sum(value) from ( select name, value from tab1 union all select name, value from tab1 ) group by name order by name;
|
Results 1 to 4 of 4
Thread: Data from 2 tablesThreaded View
|
Click Here to Expand Forum to Full Width |