Answer Posted / glibwaresoftsolutions
• 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 lookup table in sql?
What is crud sql?
What is serial sql?
how to drop an existing view in mysql? : Sql dba
Is big data nosql?
How to disable a trigger name update_salary?
What is clustered and nonclustered index in sql?
What are all the common sql functions?
Explain spool.
How do I sort a table in sql?
What is recursive join in sql?
Which query operators in sql is used for pattern matching?
What is data profiling in sql?
what is text? : Sql dba
What are the built in functions of sql?