This statement is used to show the statements for creating a table.
1 | SHOW CREATE TABLE table_name; |
CREATE TABLE: statement for creating a table
Parameter |
Description |
---|---|
table_name |
Table name |
The table specified in this statement must exist. Otherwise, an error will occur.
1 | SHOW CREATE TABLE test; |