Skip to content

Commit

Permalink
doc: add more sql example in ddl.md (#6266)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwener authored May 8, 2023
1 parent 684289c commit f8fe0b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/source/user-guide/sql/ddl.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ CREATE [OR REPLACE] TABLE [IF NOT EXISTS] <b><i>table_name</i></b> 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;
```

Expand Down

0 comments on commit f8fe0b6

Please sign in to comment.