GeekInterview.com
Series: Subject: Topic:
Question: 30 of 58

How many types of JOIN are supported by MySQL? Which are they? Explain

Asked by: Interview Candidate | Asked on: May 18th, 2007
Showing Answers 1 - 4 of 4 Answers
sanjay patil

Answered On : Oct 26th, 2007

There are three types of joins supported in mysql as inner, right and left.
The inner join displays all the rows from both tables where match is found.
left join returns all the rows from first table even if the match is not found in second table.
While the right join returns all the rows from second table even if match is not found in first table.
Thanks

Yes  3 Users have rated as useful.
  
Login to rate this answer.
sampra

Answered On : Mar 10th, 2008

View all answers by sampra

mysql support all typ of join inner join  outerjoin(alltype ) and self join

  
Login to rate this answer.

MySQL Supports following joins

Inner
Cross
Strainght
Outer
Natural

Please check following Link:
http://dev.mysql.com/doc/refman/5.0/en/join.html

  
Login to rate this answer.

Straight Join is similar to inner join. But a small difference.It checks left table first to optimize query.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.