Skip to content
Snippets Groups Projects
Commit 3d25005b authored by Arseniy Volynets's avatar Arseniy Volynets
Browse files

docs: make alias optional in scan/join

parent 38816f03
No related branches found
No related tags found
1 merge request!1414sbroad import
......@@ -9,7 +9,7 @@ PrimaryKey ::= 'primary key' '(' name (',' name)* ')'
Distribution ::= 'global' | ('distributed by' '(' name (',' name)* ')')
DropTable ::= 'drop table' table ('option' '(' ('timeout' '=' DOUBLE)')')?
Options ::= 'option' '(' ('vtable_max_rows' '=' UNSIGNED)? (',' 'sql_vdbe_max_steps' '=' UNSIGNED)? ')'
SELECT ::= 'SELECT' ((column (',' column)*) ) 'FROM' (table ('AS' name)? | '(' (SELECT | VALUES) ')' 'AS' name) ( ('INNER')? 'JOIN' (table ('AS' name)? | ('(' (SELECT | VALUES) ')' 'AS' name)) 'ON' expression )? ( 'WHERE' expression )? ( 'GROUP BY' expression(',' expression)* )?
SELECT ::= 'SELECT' ((column (',' column)*) ) 'FROM' (table ('AS' name)? | '(' (SELECT | VALUES) ')' ('AS' name)?) ( ('INNER')? 'JOIN' (table ('AS' name)? | ('(' (SELECT | VALUES) ')' ('AS' name)?)) 'ON' expression )? ( 'WHERE' expression )? ( 'GROUP BY' expression(',' expression)* )?
VALUES ::= 'VALUES' '(' row (',' row)* ')'
row ::= '(' (value (',' value)*) ')'
column ::= '*' | (table '.')? name ('AS' name)? | table '.' '*' | expression ('AS' name)?
......
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