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
Why is pl sql used?
Can triggers stop a dml statement from executing on a table?
Explain the order of sql statement execution?
What is the difference between having and a where in sql?
How do you update a table in sql?
Explain exception handling in pl/sql?
How do you declare a user-defined exception?
What is raw datatype in sql?
What is rownum?
How to process query result in pl/sql?
What is user defined functions?
What is the limitation on the block size of pl/sql?
Why we use join in sql?
What type of database is sql?
what is bcp? When is it used?