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
Can a trigger call a stored procedure?
Why are cursors used?
What is normalisation in sql?
what are tables and fields? : Sql dba
What is rtm stands for?
What do you mean by rowid?
What are the datatypes available in pl/sql ?
What are the sql aggregate functions?
What is the use of %rowtype?
What is a Mapplet?
What is pl sql block in dbms?
What is the purpose of cursors in pl/sql?
Explain what is dbms?
What are different types of queries in sql?
How to return an array from java to pl/sql?