Answer Posted / nashiinformaticssolutions
• Inner Join: Returns matching rows from both tables.
• Left Join (Left Outer Join): Returns all rows from the left table and matching rows from the right table.
• Right Join (Right Outer Join): Returns all rows from the right table and matching rows from the left table.
• Full Join (Full Outer Join): Returns all rows when there’s a match in one of the tables.
• Cross Join: Returns the Cartesian product of both tables.
• Self Join: A table joins itself.
Example Query:
SELECT e1.name, e2.name AS manager_name
FROM employees e1
JOIN employees e2 ON e1.manager_id = e2.id;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of the primary key?
what is 'mysqlshow'? : Sql dba
What is relationship? How many types of relationship are there?
What does := mean in pl sql?
Why commit is not used in triggers?
What is an inconsistent dependency?
Does mysql_real_escape_string prevent sql injection?
How do sql triggers work?
How many developers work on postgresql?
Enlist the characteristics of pl/sql?
What is the difference between pl and sql?
Sql technical questions
Why trigger is used in sql?
describe transaction-safe table types in mysql : sql dba
What is dynamic query?