posted 20 years ago
- inner joins only returns rows that "match" in both tables
- outer joins return "all" rows from 1st table, and null valued columns in rows that don't exist in the 2nd table
for example, imagine we have this data, also for each query, we join them on column "id":
Also to note, the SQL syntax for outer joins is database vendor specific, Oracle used different notation from say SQL Server.