使用SHOW CREATE TABLE语句可以查看指定表的详细建表语句。语法如下:

SHOW CREATE TABLE table_name;


https://geek-docs.com/mysql/mysql-ask-answer/190_tk_1703985323.html