Description
Related parser issue: pingcap/parser#869
Example
The TABLE and VALUES statements are two query specification statements introduced in MySQL 8.0.19.
TABLE tbl_name [ORDER BY col_name] [LIMIT limit [OFFSET offset]];
VALUES ROW(val1, val2, …), … [ORDER BY column_N [LIMIT limit [OFFSET offset]]];
Explaination
These can be used in place everywhere a SELECT statement was expected, including:
- UNION
- JOIN
- subqueries
- SELECT INTO OUTFILE
- INSERT INTO SELECT
- CREATE TABLE SELECT
Solution
For a reference, please see pingcap/parser#680 and learn how to support a new syntax in the parser.
Score
SIG Slack Channel
You can join #sig-ddl on slack in your spare time to discuss and get help with mentors or others.
Mentor(s)
Contact the mentors: #tidb-challenge-program channel in TiDB Community Slack Workspace
Recommended Skills
Learning Materials
Description
Related parser issue: pingcap/parser#869
Example
The
TABLEandVALUESstatements are two query specification statements introduced in MySQL 8.0.19.Explaination
These can be used in place everywhere a
SELECTstatement was expected, including:Solution
For a reference, please see pingcap/parser#680 and learn how to support a new syntax in the parser.
Score
SIG Slack Channel
You can join #sig-ddl on slack in your spare time to discuss and get help with mentors or others.
Mentor(s)
Contact the mentors: #tidb-challenge-program channel in TiDB Community Slack Workspace
Recommended Skills
Learning Materials