SHOW CREATE TABLE
This statement is used to display the creation statement of the data table.
grammar:
SHOW [BRIEF] CREATE TABLE [DBNAME.]TABLE_NAME
illustrate:
BRIEF : will not show partitions info
DBNAMNE : database name
TABLE_NAME : table name
View the table creation statement of a table
SHOW CREATE TABLE demo.tb1
SHOW, CREATE, TABLE