|
-
Sep 18th, 2012, 09:22 AM
#1
Thread Starter
Hyperactive Member
Join or Union?
I have two tables:
Table 1:
Code,No1
A, 1
C, 2
E, 3
Table 2:
Code, No2
A, 2
B, 4
D, 6
I want to join these two tables to give;
Code,No1,No2
A, 1, 2
B, 0, 4
C, 2, 0
D, 0, 6
E, 3, 0
I have been trying varius JOINS & UNION but I cannot find the solution - any suggestions.
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|