2
2
3
3
## Overview
4
4
5
- You can use this set of guidelines, [ fork them] ( # ) or make your own - the
5
+ You can use this set of guidelines, [ fork them] [ fork ] or make your own - the
6
6
key here is that you pick a style and stick to it. To suggest changes
7
- or fix bugs please open an [ issue] ( # ) or [ pull request] ( # ) on Git Hub.
7
+ or fix bugs please open an [ issue] [ ] or [ pull request] [ pull ] on Git Hub.
8
8
9
9
## General
10
10
@@ -32,7 +32,7 @@ SELECT first_name
32
32
33
33
### Reserved words
34
34
35
- Always use uppercase for the [ reserved keywords] ( # reserved-keyword-reference )
35
+ Always use uppercase for the [ reserved keywords] [ reserved-keywords ]
36
36
like ` SELECT ` and ` WHERE ` .
37
37
38
38
It is best to avoid the abbreviated keywords and use the full length ones where
@@ -50,14 +50,14 @@ SELECT model_num
50
50
### White space
51
51
52
52
To make the code easier to read it is important that the correct compliment of
53
- spaces is used. Do not crowd code or remove natural language spaces.
53
+ spacing is used. Do not crowd code or remove natural language spaces.
54
54
55
55
#### Spaces
56
56
57
57
Spaces should be used to line up the code so that the root keywords all end on
58
- the same character boundary. This forms a river down the middle make it easy for
58
+ the same character boundary. This forms a river down the middle making it easy for
59
59
the readers eye to scan over the code and separate the keywords from the
60
- implementation detail.
60
+ implementation detail. Rivers are [ bad in typography ] [ rivers ] , but helpful here.
61
61
62
62
``` sql
63
63
SELECT f .average_height , f .average_diameter
@@ -149,7 +149,7 @@ SELECT r.last_name,
149
149
### General
150
150
151
151
* Ensure the name is unique and does not exist as a
152
- [ reserved keyword] ( # reserved-keyword-reference )
152
+ [ reserved keyword] [ reserved-keywords ]
153
153
* Keep the length to a maximum of 30 bytes—in practice this is 30 characters
154
154
unless you are using multibyte charset
155
155
* Names must begin with a letter and may not end with an underscore
@@ -1063,3 +1063,11 @@ YEAR_MONTH
1063
1063
ZEROFILL
1064
1064
ZONE
1065
1065
```
1066
+
1067
+ [ issue ] : #
1068
+ [ fork ] : #
1069
+ [ pull ] : #
1070
+ [ rivers ] : http://practicaltypography.com/one-space-between-sentences.html
1071
+ "Practical Typography: one space between sentences"
1072
+ [ reserved-keywords ] : #reserved-keyword-reference
1073
+ "Reserved keyword reference"
0 commit comments