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
What are data types in pl sql?
What is nvarchar max in sql?
Why join is faster than subquery?
What is procedure explain with program?
How do you know if a relationship is 2nf?
what is foreign key? : Sql dba
What is the file extension for sql database?
Is sql pronounced sequel or sql?
What is record variable?
i have a column which may contain this kind of value: 123*67_80,12*8889_5,34*8_874 ,12*7_7 (can contain space before a comma, and this string length can be anything) now i want to split this value into two column like: column1: 123*67,12*8889,34*8,12*7 column2: 80,5,874,7 use function for this
Enlist the data types that can be used in pl/sql?
How do I turn a list into a table?
how to include comments in sql statements? : Sql dba
How do I run a sql script?
what is rollback? : Sql dba