|
3 | 3 | ## **[1.0.0]** In progress |
4 | 4 |
|
5 | 5 | - [ ] Missing specs |
| 6 | + - [x] Basic Drop Table |
| 7 | + - [x] Basic Drop Trigger |
| 8 | + - [x] Basic Function |
| 9 | + - [x] Basic Subquery |
| 10 | + - [x] Basic Union |
| 11 | + - [x] Create Check 1 |
| 12 | + - [x] Create Check 2 |
| 13 | + - [x] Create Foreign Key 1 |
| 14 | + - [x] Create Foreign Key 2 |
| 15 | + - [x] Create Primary Key 1 |
| 16 | + - [x] Create Table Alt Syntax |
| 17 | + - [x] Expression Like |
| 18 | + - [x] Expression Table 1 |
| 19 | + - [x] Expression Unary 1 |
| 20 | + - [x] Function Mixed Args |
| 21 | + - [x] Insert Into Default |
| 22 | + - [x] Join Types 1 |
| 23 | + - [x] Join Types 2 |
| 24 | + - [x] Select Parts 1 |
| 25 | + - [x] Select Qualified Table 1 |
| 26 | + - [x] Transaction Rollback |
6 | 27 |
|
7 | 28 | - [ ] Expression grouping issues |
8 | 29 | - [x] Grouping with unary and binary expressions |
|
35 | 56 | NOT `happiness` OR ~`ANGER` AND `anger` IS NOT 0 |
36 | 57 | ``` |
37 | 58 |
|
38 | | - - [ ] Grouping with parenthesis |
| 59 | + - [x] Grouping with parenthesis |
39 | 60 |
|
40 | 61 | ``` sql |
41 | 62 | SELECT * |
|
77 | 98 | ) AS z |
78 | 99 | ``` |
79 | 100 |
|
80 | | - - [ ] *Has spec* |
| 101 | + - [x] *Has spec* |
81 | 102 | - [x] Functions `SUM()`, aggregation `*`, etc... |
82 | 103 |
|
83 | 104 | ``` sql |
84 | 105 | SELECT COUNT(*) |
85 | 106 | FROM apples |
86 | 107 | ``` |
87 | 108 |
|
88 | | - - [ ] *Has spec* |
| 109 | + - [x] *Has spec* |
89 | 110 | - [x] Compound queries |
90 | 111 |
|
91 | 112 | ``` sql |
|
96 | 117 | FROM b |
97 | 118 | ``` |
98 | 119 |
|
99 | | - - [ ] *Has spec* |
| 120 | + - [x] *Has spec* |
100 | 121 |
|
101 | 122 | - [x] Alternate syntax |
102 | 123 |
|
|
105 | 126 | ORDER BY id DESC |
106 | 127 | ``` |
107 | 128 |
|
| 129 | + - [x] *Has spec* |
| 130 | + |
108 | 131 | - [x] `JOIN` types `INNER`, `OUTER`, `LEFT` **TODO: Need tests** |
109 | 132 | - [x] Joins on tables and/or sub-queries |
110 | | - - [ ] *Has spec* |
| 133 | + - [x] *Has spec* |
111 | 134 | - [x] `USING` |
112 | 135 |
|
113 | 136 | ``` sql |
|
139 | 162 | VALUES (1, 2, 'hey'), (2, 3, 'yo') |
140 | 163 | ``` |
141 | 164 |
|
142 | | - - [ ] *Has spec* |
| 165 | + - [x] *Has spec* |
143 | 166 | - [x] Default values |
144 | 167 |
|
145 | 168 | ``` sql |
146 | 169 | INSERT INTO apples (a, b, c) |
147 | 170 | DEFAULT VALUES |
148 | 171 | ``` |
149 | 172 |
|
150 | | - - [ ] *Has spec* |
| 173 | + - [x] *Has spec* |
151 | 174 | - [x] Insert into select |
152 | 175 |
|
153 | 176 | ``` sql |
154 | 177 | INSERT INTO apples (a, b, c) |
155 | 178 | SELECT * FROM apples |
156 | 179 | ``` |
157 | 180 |
|
158 | | - - [ ] *Has spec* |
| 181 | + - [x] *Has spec* |
159 | 182 | - [x] `UPDATE` |
160 | 183 | - [x] Basic format |
161 | 184 | - [x] *Has spec* |
|
167 | 190 | - [x] Limit update format |
168 | 191 | - [x] *Has spec* |
169 | 192 | - [x] `DROP` |
170 | | - - [ ] *Has spec* |
| 193 | + - [x] *Has spec* |
171 | 194 | - [x] `CREATE` |
172 | 195 | - [x] Table format |
173 | 196 | - [x] Basic format |
174 | 197 | - [x] *Has spec* |
175 | 198 | - [x] Table constraints **TODO: Need tests** |
176 | 199 | - [x] `PRIMARY KEY` |
177 | | - - [ ] *Has spec* |
| 200 | + - [x] *Has spec* |
178 | 201 | - [x] `CHECK` |
179 | | - - [ ] *Has spec* |
| 202 | + - [x] *Has spec* |
180 | 203 | - [x] `FOREIGN KEY` |
181 | | - - [ ] *Has spec* |
| 204 | + - [x] *Has spec* |
182 | 205 | - [x] Column constraints **TODO: Need tests** |
183 | 206 | - [x] `PRIMARY KEY` |
184 | | - - [ ] *Has spec* |
| 207 | + - [x] *Has spec* |
185 | 208 | - [x] `NOT NULL`, `UNIQUE` |
186 | | - - [ ] *Has spec* |
| 209 | + - [x] *Has spec* |
187 | 210 | - [x] `CHECK` |
188 | | - - [ ] *Has spec* |
| 211 | + - [x] *Has spec* |
189 | 212 | - [x] `DEFAULT` |
190 | 213 | - [ ] *Has spec* |
191 | 214 | - [x] `COLLATE` |
192 | 215 | - [ ] *Has spec* |
193 | 216 | - [x] `FOREIGN KEY` |
194 | | - - [ ] *Has spec* |
| 217 | + - [x] *Has spec* |
195 | 218 | - [x] Create table `AS SELECT` |
196 | | - - [ ] *Has spec* |
| 219 | + - [x] *Has spec* |
197 | 220 | - [x] `ALTER TABLE` **TODO: Need tests** |
198 | 221 | - [ ] *Has spec* |
199 | 222 | - [x] Transaction statement types **TODO: Need tests** |
|
220 | 243 | - [x] `COMMIT`, `END` |
221 | 244 | - [x] *Has spec* |
222 | 245 | - [x] `ROLLBACK` |
223 | | - - [ ] *Has spec* |
| 246 | + - [x] *Has spec* |
224 | 247 | - [x] Query plan `EXPLAIN QUERY PLAN stmt` **TODO: Need tests** |
225 | 248 | - [ ] *Has spec* |
226 | 249 | - [x] Multiple queries in batch |
|
248 | 271 | FROM bees AS b INDEXED BY bees_index |
249 | 272 | ``` |
250 | 273 |
|
251 | | - - [ ] *Has spec* |
| 274 | + - [x] *Has spec* |
252 | 275 |
|
253 | 276 | - [x] Comments |
254 | 277 | - [x] Line comments |
|
325 | 348 | FROM hats |
326 | 349 | ``` |
327 | 350 |
|
328 | | - - [ ] *Has spec* |
| 351 | + - [x] *Has spec* |
329 | 352 | - [x] `RAISE` |
330 | 353 |
|
331 | 354 | ``` sql |
|
348 | 371 | WHERE bees LIKE '%somebees%' |
349 | 372 | ``` |
350 | 373 |
|
351 | | - - [ ] *Has spec* |
| 374 | + - [x] *Has spec* |
352 | 375 | - [x] `ESCAPE` |
353 | 376 |
|
354 | 377 | ``` sql |
|
365 | 388 | WHERE ham IS NOT NULL |
366 | 389 | ``` |
367 | 390 |
|
368 | | - - [ ] *Has spec* |
| 391 | + - [x] *Has spec* |
369 | 392 | - [x] `BETWEEN` |
370 | 393 |
|
371 | 394 | ``` sql |
|
391 | 414 | WHERE 2 != 3 |
392 | 415 | ``` |
393 | 416 |
|
394 | | - - [ ] *Has spec* |
| 417 | + - [x] *Has spec* |
395 | 418 | - [x] Functions |
396 | 419 |
|
397 | 420 | ``` sql |
398 | 421 | SELECT MYFUNC(col, 1.2, 'str') |
399 | 422 | ``` |
400 | | - - [ ] *Has spec* |
| 423 | + - [x] *Has spec* |
401 | 424 | - [x] Table expressions |
402 | 425 |
|
403 | 426 | ``` sql |
|
411 | 434 | ON inventory.variety = ham.type |
412 | 435 | ``` |
413 | 436 |
|
414 | | - - [ ] *Has spec* |
415 | | - |
| 437 | + - [x] *Has spec* |
416 | 438 | - [x] Logical grouping `1 == 2 AND 2 == 3` |
417 | 439 | - [x] *Has spec* |
418 | 440 | - [x] **BUG**: Need to fix the grouping of expressions to allow for expressions to be logically organized. |
|
0 commit comments