SQL – Joins

Table Of Contents:

  1. What Are SQL Joins?
  2. Types Of SQL Joins.

(1) What Are SQL Joins?

  • SQL Joins allow us to work on multiple tables by joining them together based on a related column.
  • By bringing tables together you can have more information about the item.

(2) Types Of SQL Joins?

  1. (INNER) JOIN: Returns records that have matching values in both tables
  2. LEFT (OUTER) JOIN: Returns all records from the left table, and the matched records from the right table
  3. RIGHT (OUTER) JOIN: Returns all records from the right table, and the matched records from the left table
  4. FULL (OUTER) JOIN: Returns all records when there is a match in either the left or right table.

Leave a Reply

Your email address will not be published. Required fields are marked *