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

Fixes #4, uses same terminology as MySql, Postgresql, MSSQL and Oracle use

This commit is contained in:
William Entriken 2016-05-19 09:13:02 -04:00
parent a67f5fe8f1
commit 1509cdfc2a

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,