SQL join
SQL Join
Join means that a table is connected with another table or other tables through a specific, mutual columns.
types:
- inner join
- left join
- outer join: left/right join & union
- right join
if you make a join on tables, write “(inner)/left/right join ~ on” in a query.
union: remove the duplicated data
if you make a join on three tables, you can write the names of three tables next to the reserved word “from”.