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

Merge pull request #5 from fulldecent/patch-1

Fixes #4, uses same terminology as MySql, Postgresql, MSSQL and Oracle
This commit is contained in:
Simon Holywell 2016-09-01 09:03:56 +10:00 committed by GitHub
commit db6e52c99e

View file

@ -257,12 +257,12 @@ SELECT r.last_name
AND c.chief = 'Y';
```
#### Sub-queries
#### Subqueries
Sub-queries should also be aligned to the right side of the river and then laid
Subqueries should also be aligned to the right side of the river and then laid
out using the same style as any other query. Sometimes it will make sense to have
the closing parenthesis on a new line at the same character position as it's
opening partner—this is especially true where you have nested sub-queries.
opening partner—this is especially true where you have nested subqueries.
```sql
SELECT r.last_name,