thetrystero
New member
- Local time
- Today, 06:05
- Joined
- May 6, 2009
- Messages
- 6
forgive my newbie question, but i'd like to know how to add numbers from two different queries.
for the sake of discussion, I have two different queries q1 and q2, that extract the number of oranges, apples and kiwis from two different source files. how do i aggregate the number of oranges, apples and kiwis, respectively, from q1 and q2 in to one table?
i want to end up with three rows like:
oranges: q1.oranges+q2.oranges
apples: q1.apples+q2.apples
kiwis: q1.kiwis+q2.kiwis
for the sake of discussion, I have two different queries q1 and q2, that extract the number of oranges, apples and kiwis from two different source files. how do i aggregate the number of oranges, apples and kiwis, respectively, from q1 and q2 in to one table?
i want to end up with three rows like:
oranges: q1.oranges+q2.oranges
apples: q1.apples+q2.apples
kiwis: q1.kiwis+q2.kiwis