469,106 Members | 2,353 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,106 developers. It's quick & easy.

concat two tables

I have two tables, one containing payments to a supplier and one containing
invoices issued by a supplier. I'd like to get a total from each table with
one query.

I need somehow to list all payments and all transactions together in one
table result set.


paymentAmount, transactionAmount
100, null
56, null
24, null
94, null
null, 100
null, 56
null, 24
null, 94

If I try doing a normal join then it joins together each combination, ie

100, 100
100, 56
100, 24
100, 94
56, 100
56, 56
etc etc

Anyone help me ?
Jul 20 '05 #1
0 1208

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Gerald Aichholzer | last post: by
3 posts views Thread by Bryan Valencia | last post: by
16 posts views Thread by Jacky | last post: by
8 posts views Thread by Doug Stiers | last post: by
1 post views Thread by Trint Smith | last post: by
4 posts views Thread by Martin Evans | last post: by
6 posts views Thread by GarryJones | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by kglaser89 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.