sql 查询库中某表中全部字段及字段类型、属性等

SELECT column_name,column_type,IS_NULLABLE,column_key FROM information_schema.columns WHERE table_schema= '库名' AND table_name = '表名'orm
相关文章
相关标签/搜索