1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
query:
select | update | insert | delete ;
select:
SELECT select_items FROM _table where group_by order_by limit;
limit:
| LIMIT _digit ;
order_by:
| ORDER BY _field ;
where:
| WHERE condition ;
group_by:
| GROUP BY _field ;
select_items:
select_item |
select_items , select_item ;
select_item:
S1 | S2 | S3 ;
update:
UPDATE _table SET _field = digit where limit ;
delete:
DELETE FROM _table WHERE condition limit ;
insert:
INSERT INTO _table ( _field ) VALUES ( _digit ) ;
condition:
cond_item < digit | cond_item = _digit ;
cond_item:
C1 | C2 | C3 ;
_field:
F1 | F2 | F3 ;
_table:
AA | BB | CC ;
|