91b7fd24c0
* refactor: prefix trino lexer rule name with KW_ * test: add commentOtherLine function * feat: optimize trino antlr grammar to adapt to c3 * feat: trinosqlParser supports codeCompletion and spliting * test: trinoSql codeCompletion unit tests
19 lines
275 B
SQL
19 lines
275 B
SQL
INSERT INTO db.tb ;
|
|
|
|
SELECT ids FROM db.;
|
|
|
|
CREATE TABLE db. VALUES;
|
|
|
|
DROP TABLE IF EXISTS db.a;
|
|
|
|
CREATE OR REPLACE VIEW db.v;
|
|
|
|
DROP VIEW db.v ;
|
|
|
|
SELECT name, calculate_age(birthday) AS age FROM students;
|
|
|
|
CREATE SCHEMA db ;
|
|
|
|
DROP SCHEMA IF EXISTS sch;
|
|
|
|
SHOW COLUMNS FROM tb ; |