From 9e3cdf0ec3f531fee704fd106f537b787818c734 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Wed, 26 Dec 2018 09:56:31 -0500 Subject: [PATCH] remove extra ; from sql statements --- database/sql/companies/find.sql | 2 +- database/sql/locations/find.sql | 2 +- database/sql/people/find.sql | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/database/sql/companies/find.sql b/database/sql/companies/find.sql index 3c30363..e217565 100644 --- a/database/sql/companies/find.sql +++ b/database/sql/companies/find.sql @@ -9,4 +9,4 @@ SELECT FROM companies LEFT JOIN jobs ON companies.id = jobs.company_id LEFT JOIN people ON jobs.person_id = people.id -ORDER BY companies.id ASC; +ORDER BY companies.id ASC diff --git a/database/sql/locations/find.sql b/database/sql/locations/find.sql index 38d1c9a..e96d72c 100644 --- a/database/sql/locations/find.sql +++ b/database/sql/locations/find.sql @@ -8,4 +8,4 @@ SELECT age FROM locations LEFT JOIN people ON locations.id = people.location_id -ORDER BY locations.id; +ORDER BY locations.id diff --git a/database/sql/people/find.sql b/database/sql/people/find.sql index 5e1aa99..835dd56 100644 --- a/database/sql/people/find.sql +++ b/database/sql/people/find.sql @@ -11,7 +11,7 @@ SELECT companies.id AS company_id, companies.name AS company_name FROM people -LEFT JOIN locations ON people.location_id = locations.id +LEFT JOIN locations ON people.home_id = locations.id LEFT JOIN jobs ON people.id = jobs.person_id LEFT JOIN companies ON jobs.company_id = companies.id -ORDER BY people.id ASC; +ORDER BY people.id ASC