Answer Posted / hr@tgksolutions.com
• 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
Do triggers have restrictions on the usage of large datatypes, such as long and long raw?
Can you rollback after commit?
what is the difference between rownum pseudo column and row_number() function? : Sql dba
What is information schema in sql?
What is meant by temporal data?
Explain how to use transactions efficiently : transact sql
what is the difference between myisam static and myisam dynamic? : Sql dba
Which command is used to delete a package?
What are the events on which a database trigger can be based?
what is meant by nl2br()? : Sql dba
What are the different types of functions in sql?
How do I add a database to sql?
What is primary key and unique key?
How to install oracle sql developer?
How to Declare Fixed Length String Value In PL SQL