What is a join? Explain the different types of mysql joins.
Answer Posted / hrindows@gmail.com
The SQL statement that is used to make a connection between two or more tables based on the matching columns is called a join. It is mainly used for complex queries.
Different types of SQL joins are mentioned below:
Inner Join: It is a default join. It returns records when the values match in the joining tables.
Left Outer Join: It returns all the records from the left table based on the matched records from the right table.
Right Outer Join: It returns all the records from the right table based on the matched records from the left table.
Full Outer Join: It returns all the records that match from the left or right table.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to return query output in html format?
Is mysql still popular?
How we can see all indexes defined for a table in mysql?
How do I view a mysql database?
what is constraints? Also explain the different types of constraints?
What language does mysql use?
How do you say mysql?
What is trigger in mysql with example?
Is mysql distributed?
Why use stored procedures in mysql?
What does "i_am_a_dummy flag" do in mysql?
What does mysql flush hosts do?
How do I rename a mysql database?
Is mysql open source?
What is triggers and how it can be used in mysql?