Skip to content

Commit

Permalink
Remove unsupported grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
katzyn committed Jan 27, 2024
1 parent e31eaa6 commit 2f1cd62
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions h2/src/main/org/h2/res/help.csv
Original file line number Diff line number Diff line change
Expand Up @@ -353,13 +353,12 @@ VALUES (1, 'Hello'), (2, 'World');

"Commands (DML)","WITH","
WITH [ RECURSIVE ] { name [( columnName [,...] )] AS ( query ) [,...] }
{ query | @h2@ { insert | update | delete | mergeInto | mergeUsing | createTable } }
query
","
Can be used to create a recursive or non-recursive query (common table expression).
For recursive queries the first select has to be a UNION.
One or more common table entries can be referred to by name.
Column name declarations are now optional - the column names will be inferred from the named select queries.
The final action in a WITH statement can be a select, insert, update, merge, delete or create table.
Column name declarations are optional - the column names will be inferred from the named select queries.
","
WITH RECURSIVE cte(n) AS (
SELECT 1
Expand Down

0 comments on commit 2f1cd62

Please sign in to comment.