From 20aa6bfdacb64464d14d9c93623d32fda3d5ad04 Mon Sep 17 00:00:00 2001 From: tuxayo <2678215+tuxayo@users.noreply.github.com> Date: Wed, 19 Jun 2019 19:00:59 +0200 Subject: [PATCH] Add missing semicolons on queries --- _includes/sqlstyle.guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_includes/sqlstyle.guide.md b/_includes/sqlstyle.guide.md index 75a9fac..48cf8bd 100644 --- a/_includes/sqlstyle.guide.md +++ b/_includes/sqlstyle.guide.md @@ -192,7 +192,7 @@ implementation detail. Rivers are [bad in typography][rivers], but helpful here. WHERE b.species_name = 'Banksia' OR b.species_name = 'Sheoak' OR b.species_name = 'Wattle' - GROUP BY b.species_name, b.observation_date) + GROUP BY b.species_name, b.observation_date); ``` Notice that `SELECT`, `FROM`, etc. are all right aligned while the actual column @@ -309,7 +309,7 @@ SELECT CASE postcode FROM office_locations WHERE country = 'United Kingdom' AND opening_time BETWEEN 8 AND 9 - AND postcode IN ('EH1', 'BN1', 'NN1', 'KW1') + AND postcode IN ('EH1', 'BN1', 'NN1', 'KW1'); ``` ## Create syntax