1
0
Fork 0
mirror of https://github.com/treffynnon/sqlstyle.guide.git synced 2025-03-09 12:49:51 -05:00

Add missing semicolons on queries

This commit is contained in:
tuxayo 2019-06-19 19:00:59 +02:00 committed by GitHub
parent 118236eebf
commit 20aa6bfdac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -192,7 +192,7 @@ implementation detail. Rivers are [bad in typography][rivers], but helpful here.
WHERE b.species_name = 'Banksia' WHERE b.species_name = 'Banksia'
OR b.species_name = 'Sheoak' OR b.species_name = 'Sheoak'
OR b.species_name = 'Wattle' 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 Notice that `SELECT`, `FROM`, etc. are all right aligned while the actual column
@ -309,7 +309,7 @@ SELECT CASE postcode
FROM office_locations FROM office_locations
WHERE country = 'United Kingdom' WHERE country = 'United Kingdom'
AND opening_time BETWEEN 8 AND 9 AND opening_time BETWEEN 8 AND 9
AND postcode IN ('EH1', 'BN1', 'NN1', 'KW1') AND postcode IN ('EH1', 'BN1', 'NN1', 'KW1');
``` ```
## Create syntax ## Create syntax