通过SQL语句查询表结构
原文:https://www.cnblogs.com/xguai/p/11815510.html
SELECT COLUMN_NAME 字段名称, COLUMN_TYPE 数据类型, IF(IS_NULLABLE='NO','是','否') AS '必填', COLUMN_COMMENT 注释 FROM INFORMATION_SCHEMA.COLUMNS where table_schema =‘Finance‘ AND table_name = ‘user‘
看完打开支付宝扫一扫领个红包吧!