MySQL Forums
Forum List  »  Quality Assurance

sql join query
Posted by: rag p
Date: October 22, 2012 12:22PM

Hi,

I have two tables like

uid u name
1 ram
2 sham
3 raju
4 yammu

book uid
c 1
c++ 1
java 3
.net 10


I need this data from these two tables.

uid book
1 c
1 c++
2 null
3 java
4 null
10 .net

Please tell me what will be the join query for these requirement.

Options: ReplyQuote


Subject
Views
Written By
Posted
sql join query
1579
October 22, 2012 12:22PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.