sql command to export the table structure

select COLUMN_NAME,COLUMN_COMMENT,COLUMN_TYPE,COLUMN_COMMENT from information_schema.columns where TABLE_SCHEMA='huaxingu' and TABLE_NAME='user';

Guess you like

Origin www.cnblogs.com/zhangtianle/p/12665274.html