lava-oushudb-dt-sql-parser/test/parser/flink/suggestion/fixtures/syntaxSuggestion.sql
Hayden bb0fad1dbe
refactor: standard naming (#278)
* refactor: rename flinksql to flink

* refactor: rename pgsql to postgresql

* refactor: rename trinosql to trino

* refactor: replace all default exports with named export

* refactor: rename basicParser to basicSQL

* refactor: rename basic-parser-types to types

* refactor: replace arrow func with plain func
2024-03-27 10:33:25 +08:00

41 lines
545 B
SQL

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 ;
INSERT INTO tb (col, tb.c );
CREATE TABLE yourTable (ts TIMESTAMP(3), WATERMARK FOR );
CREATE TABLE newTable ( );