lava-oushudb-dt-sql-parser/test/parser/pgsql/syntax/fixtures/delete.sql
XCynthia cbb1279f9e
feat: support pgsql code completion (#205)
* feat: pgsql: complete sql, upgrade syntax file and complete autoImprove

* feat: pgsql: complete unit test

* feat: pgsql: update unit test for autocomplete

* feat(pgsql: update split's context type ): pgsql: update split's context type

* feat(pgsql: update schema, table, procedure, tablespace, function, view,database's rule name): pgsql

* feat: pgsql: update usualName's rule realize

* feat: pgsql:update funcName's using

---------

Co-authored-by: zhaoge <>
2023-11-15 15:34:42 +08:00

14 lines
276 B
SQL

DELETE FROM weather WHERE city = 'Hayward';
DELETE FROM products
WHERE obsoletion_date = 'today'
RETURNING ab AS abc_name;
WITH RECURSIVE a AS (SELECT * from bt )
DELETE FROM ONLY table_name * AS alias
USING using_list
WHERE y > 4
RETURNING *;
DELETE FROM table_name;