𝗝𝗼𝗶𝗻𝘀 𝗶𝗻 𝗦𝗤𝗟

SQL joins combine data from two or more tables. You use a related column to link them. This allows you to see information stored in different places.

Here are the main join types:

Summary Guide:

• INNER JOIN: Matching rows only. • LEFT JOIN: All left rows plus matches. • RIGHT JOIN: All right rows plus matches. • FULL OUTER JOIN: All rows from both tables. • CROSS JOIN: Every possible combination. • SELF JOIN: A table joined with itself.

Source: https://dev.to/aj_arul/joins-in-sql-1afh