Class 08 Reading - Ginsusamurai/seattle-301d58 GitHub Wiki
Reading 08
Read
Complete SQLBolt (Intro, Lessons 1-4, 13-18)
- SQL commands are case insensitive and the layout is very loose so it's helpful to employ formatting to help with legibility and extensibility
inner join
orjoin
is processes matches from two tables that have same column, can useON
to make two columns equivilantON movies.id = boxoffice.movie_id
left join
includes rows from A even if not in Bright join
includes from B even if not in Afull join
include rows from both even if no match- handling
null
values needs to be considered
Practice SQL on W3 Schools - This resource has sample databases you can use to practice writing SQL queries.
Reference
A Primer on SQL - Click the blue Download button SQL Cheat Sheet