diff --git a/docs/source/user-guide/sql/ddl.md b/docs/source/user-guide/sql/ddl.md index 45d7d81a0aec..6c8fbcab6864 100644 --- a/docs/source/user-guide/sql/ddl.md +++ b/docs/source/user-guide/sql/ddl.md @@ -156,6 +156,8 @@ CREATE [OR REPLACE] TABLE [IF NOT EXISTS] table_name AS [SELECT | ```sql CREATE TABLE IF NOT EXISTS valuetable AS VALUES(1,'HELLO'),(12,'DATAFUSION'); +CREATE TABLE IF NOT EXISTS valuetable(c1 INT, c2 VARCHAR) AS VALUES(1,'HELLO'),(12,'DATAFUSION'); + CREATE TABLE memtable as select * from valuetable; ```