Commands
SHOW CREATE TABLE
Use the SHOW CREATE TABLE
command to see what query was used to create the specified table.
Syntax
Parameters
Parameter | Description |
---|---|
table_name | The table to show the query of. |
Example
Here is the result. Note that the IF NOT EXISTS
clause is omitted while the WITH
option is preserved.
Related topics
Was this page helpful?