Skip to content
Snippets Groups Projects
Commit 6209c730 authored by Alexander Tolstoy's avatar Alexander Tolstoy Committed by Alexander Tolstoy
Browse files

docs: switch 'groupby' and 'where' in eBNF

parent f9b262a8
No related branches found
No related tags found
1 merge request!1414sbroad import
Query ::= Select | Select 'union all' Select | Select ('except' | 'except distinct') Select | Values | Insert
Select ::= 'select' (Column (',' Column)*) 'from' (Table | Select) ('as' Alias)? ( ('inner')? 'join' (Table | Select) ('as' Alias)? 'on' Expression )? ( 'group by' GroupBy )? ( 'where' Expression )?
Select ::= 'select' (Column (',' Column)*) 'from' (Table | Select) ('as' Alias)? ( ('inner')? 'join' (Table | Select) ('as' Alias)? 'on' Expression )? ( 'where' Expression )? ( 'group by' GroupBy )?
Column ::= '*' | Table '.' '*' | Expression | Expression 'as' Alias
Expression ::= Expression 'or' Expression
| Expression 'and' Expression
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment