Skip to content

Commit a43d909

Browse files
committed
sql-parser: update README.md
1 parent 8677cac commit a43d909

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

README.md

+17-13
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
# An SQLite3 Compatible SQL parser
1+
# An SQL query parser
2+
3+
<br />
24

35
[db-academy.io/sql_parser](https://db-academy.io/sql_parser) reference implementation in Rust
46

7+
<br />
8+
59
The following list of statements is ordered not only by difficulty but also by
610
the time required for implementation, from easier and quicker to harder and
711
more time-consuming. There are exceptions where certain statements are simpler
@@ -11,7 +15,7 @@ intentional, made solely for grouping related statements together.
1115
The items were taken from the official SQLite documentation
1216
[here](https://www.sqlite.org/lang.html)
1317

14-
## Simple statements ![progress](https://progress-bar.xyz/14/?scale=14&suffix=%%%20(14%20of%2014)&width=140)
18+
### Simple statements ![progress](https://progress-bar.xyz/14/?scale=14&suffix=%%%20(14%20of%2014)&width=140)
1519
1. [drop-table-stmt](https://www.sqlite.org/lang_droptable.html) &#9989;
1620
1. [drop-index-stmt](https://www.sqlite.org/lang_dropindex.html) &#9989;
1721
1. [drop-trigger-stmt](https://www.sqlite.org/lang_droptrigger.html) &#9989;
@@ -27,9 +31,9 @@ The items were taken from the official SQLite documentation
2731
1. [rollback-stmt](https://www.sqlite.org/lang_savepoint.html) &#9989;
2832
1. [pragma-stmt](https://www.sqlite.org/pragma.html) &#9989;
2933

30-
## Intermediate statements
34+
### Intermediate statements
3135

32-
### Parsing sql expr ![progress](https://progress-bar.xyz/17/?scale=17&suffix=%%%20(17%20of%2017)&width=140)
36+
#### Parsing sql expr ![progress](https://progress-bar.xyz/17/?scale=17&suffix=%%%20(17%20of%2017)&width=140)
3337
1. [literal-value](https://www.sqlite.org/lang_expr.html#literalvalue) &#9989;
3438
1. [bind-parameter](https://www.sqlite.org/lang_expr.html#bindvar)&#9989;
3539
1. [identifiers](https://www.sqlite.org/lang_expr.html#columnname)&#9989;
@@ -48,44 +52,44 @@ The items were taken from the official SQLite documentation
4852
1. [case-expression](https://www.sqlite.org/lang_expr.html#caseexp)&#9989;
4953
1. [raise-function](https://www.sqlite.org/lang_expr.html#raisefunc)&#9989;
5054

51-
### Parsing sql statements ![progress](https://progress-bar.xyz/2/?scale=2&suffix=%%%20(2%20of%202)&width=140)
55+
#### Parsing sql statements ![progress](https://progress-bar.xyz/2/?scale=2&suffix=%%%20(2%20of%202)&width=140)
5256
1. [attach-stmt](https://www.sqlite.org/lang_attach.html) &#9989;
5357
1. [alter-table-stmt](https://www.sqlite.org/lang_altertable.html) &#9989;
5458

55-
## Advanced statements ![progress](https://progress-bar.xyz/0/?scale=19&suffix=%%%20(0%20of%2019)&width=140)
59+
### Advanced statements ![progress](https://progress-bar.xyz/0/?scale=19&suffix=%%%20(0%20of%2019)&width=140)
5660

57-
### SELECT Statement ![progress](https://progress-bar.xyz/0/?scale=4&suffix=%%%20(0%20of%204)&width=140)
61+
#### SELECT Statement ![progress](https://progress-bar.xyz/0/?scale=4&suffix=%%%20(0%20of%204)&width=140)
5862
1. indexed-by-part
5963
1. window-functions-part
6064
1. select-stmt
6165
1. with-clause-part (CTE)
6266

63-
### INSERT Statement ![progress](https://progress-bar.xyz/0/?scale=5&suffix=%%%20(0%20of%205)&width=140)
67+
#### INSERT Statement ![progress](https://progress-bar.xyz/0/?scale=5&suffix=%%%20(0%20of%205)&width=140)
6468
1. on-conflict-clause-part
6569
1. returning-clause-part
6670
1. upsert-part
6771
1. insert-stmt
6872
1. replace-stmt
6973

70-
### CREATE Statements ![progress](https://progress-bar.xyz/0/?scale=45&suffix=%%%20(0%20of%205)&width=140)
74+
#### CREATE Statements ![progress](https://progress-bar.xyz/0/?scale=45&suffix=%%%20(0%20of%205)&width=140)
7175
1. create-virtual-table-stmt
7276
1. create-index-stmt
7377
1. create-view-stmt
7478
1. create-table-stmt
7579
1. create-trigger-stmt
7680

77-
### DELETE Statements ![progress](https://progress-bar.xyz/0/?scale=2&suffix=%%%20(0%20of%202)&width=140)
81+
#### DELETE Statements ![progress](https://progress-bar.xyz/0/?scale=2&suffix=%%%20(0%20of%202)&width=140)
7882
1. delete-stmt
7983
1. delete-stmt-limited
8084

81-
### UPDATE Statements ![progress](https://progress-bar.xyz/0/?scale=2&suffix=%%%20(0%20of%202)&width=140)
85+
#### UPDATE Statements ![progress](https://progress-bar.xyz/0/?scale=2&suffix=%%%20(0%20of%202)&width=140)
8286
1. update-stmt
8387
1. update-stmt-limited
8488

85-
### EXPLAIN Statements ![progress](https://progress-bar.xyz/0/?scale=1&suffix=%%%20(0%20of%201)&width=140)
89+
#### EXPLAIN Statements ![progress](https://progress-bar.xyz/0/?scale=1&suffix=%%%20(0%20of%201)&width=140)
8690
1. explain-stmt
8791

88-
## Optional statements ![progress](https://progress-bar.xyz/0/?scale=5&suffix=%%%20(0%20of%205)&width=140)
92+
#### Optional statements ![progress](https://progress-bar.xyz/0/?scale=5&suffix=%%%20(0%20of%205)&width=140)
8993
1. [math-functions](https://www.sqlite.org/lang_mathfunc.html)
9094
1. [date-and-time-functions](https://www.sqlite.org/lang_datefunc.html)
9195
1. [json-functions](https://www.sqlite.org/json1.html)

0 commit comments

Comments
 (0)