parent
87e70da120
commit
be03fafd0a
@ -1 +1,11 @@
|
||||
SELECT * FROM locations
|
||||
SELECT
|
||||
locations.id AS location_id,
|
||||
street,
|
||||
city,
|
||||
state,
|
||||
people.id AS person_id,
|
||||
name,
|
||||
age
|
||||
FROM locations
|
||||
LEFT JOIN people ON locations.id = people.location_id
|
||||
ORDER BY locations.id;
|
||||
|
||||
Loading…
Reference in new issue