From 2f1cd629707c4518a3259180decd916e061714fe Mon Sep 17 00:00:00 2001 From: Evgenij Ryazanov Date: Sat, 27 Jan 2024 14:43:35 +0800 Subject: [PATCH] Remove unsupported grammar --- h2/src/main/org/h2/res/help.csv | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/h2/src/main/org/h2/res/help.csv b/h2/src/main/org/h2/res/help.csv index 118561d9bc..dfc3bf3fa8 100644 --- a/h2/src/main/org/h2/res/help.csv +++ b/h2/src/main/org/h2/res/help.csv @@ -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