lava-oushudb-dt-sql-parser/test/parser/flinksql/suggestion/fixtures/syntaxSuggestion.sql

41 lines
549 B
MySQL
Raw Normal View History

DROP CATALOG cat;
SELECT * FROM cat. ;
CREATE TABLE cat.db ;
SHOW TABLES FROM cat;
ALTER DATABASE cat.;
DROP VIEW v;
SELECT * FROM ;
CREATE VIEW cv;
SELECT name, calculate_age(birthdate) AS age FROM students;
CREATE FUNCTION fnc;
SHOW COLUMNS FROM vie;
SHOW CREATE TABLE tb1;
SHOW CREATE VIEW v1;
SELECT col ;
SELECT col FROM tb1;
SELECT col, FROM tb1;
SELECT * FROM tb ORDER BY ;
SELECT * FROM tb GROUP BY tb. ;
INSERT INTO tb (col, tb.c );
CREATE TABLE yourTable (ts TIMESTAMP(3), WATERMARK FOR );
CREATE TABLE newTable ( );