huckfinn19
Programmer
Hi all! Here's what I need to do :
I have two tables :
A B
a b c d
---- ----
1 z 1 k
2 x 5 l
3 c 6 j
I need a SELECT with JOIN that would give me :
A
a b
----
1 z
2 x
3 c
5 NULL
6 NULL
so I need to add the missing rows from the A.a and B.c JOIN,
how can I do that ?
I can't use a Union 'cause I can't use MySQL version 4.
Thanks,
Simon
I have two tables :
A B
a b c d
---- ----
1 z 1 k
2 x 5 l
3 c 6 j
I need a SELECT with JOIN that would give me :
A
a b
----
1 z
2 x
3 c
5 NULL
6 NULL
so I need to add the missing rows from the A.a and B.c JOIN,
how can I do that ?
I can't use a Union 'cause I can't use MySQL version 4.
Thanks,
Simon