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
how can we know the number of days between two given dates using mysql? : Sql dba
How global cursor can be declare with dynamic trigger ?
What is sequence in sql?
What is the difference between the conventional and direct path loads? : aql loader
What is trigger in sql? Explain
What is trigger explain with example?
What is the use of partition by in sql?
What is sql prepared statement?
Is postgresql a server?
What is attribute indicator in pl sql?
What are all the common sql functions?
what are date and time intervals? : Sql dba
What is function and procedure?
Can we have two clustered index on a table?
what is the difference between group by and order by in sql? : Sql dba