Please Help me,
I have 2 Table, A dan B.
Table A :
Sandar | jmlMuat
---------------------------
Mirah | 20
Berlian | 10
Table B :
Sandar | jmlBongkar
-------------------------------
Mirah | 30
Nilam | 15
I want to join that table to get result like this :
Sandar | jmlMuat | jmlBongkar
-------------------------------------------------
Mirah | 20 | 30
Nilam | Null | 15
Berlian | 10 | Null
I try Query :
SELECT A.Sandar, A.jmlBongkar, B.jmlMuat
FROM A full JOIN B
ON A.Sandar = B.Sandar
but the result is :
Sandar | jmlMuat | jmlBongkar
-------------------------------------------------
Mirah | 20 | 30
Null | Null | 15
Berlian | 10 | Null
why "Nilam" replace by "Null" ??
Whats wrong with my query?
Please correct my query so i get the result i want.
Thx.
Yusuf.