Click here to Skip to main content
15,897,891 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Examples of joins using subqueries
Posted

 
Share this answer
 
Hi

Check the following Link

How to write subquery inside the INNER JOIN Statement[^]

Regards,
Venkatesh.
 
Share this answer
 
Hi Friend,

Please look into the below query .

It may be help u .


SQL
select * from sa A join user_list B on A.Name=B.name
                   join userinfo C on C.name=(select name from sa where Marks=87) 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900