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
Is oracel sql developer written in java?
Why use subqueries instead of joins?
which tcp/ip port does sql server run on? : Sql dba
what are the types of subquery? : Sql dba
What is transaction control language (tcl)?
What is partition in sql query?
How do I write a cron which will run a sql query and mail the results to agroup?
What is t-sql? : Transact sql
How do I send sql query results to excel?
What is cursor explain with example?
Is left join faster than join?
Is sql dba a good career? : SQL DBA
Explain what is a field in a database and record in a database?
what are the different tables present in mysql? : Sql dba
What is sql table?