select column_name 字段,column_type 字段类型,column_comment 字段名称
from information_schema.columns orm
where table_name='表的名字' and table_schema='数据库名'
Fields, field types, and field names of mysql query tables
Guess you like
Origin blog.csdn.net/qq_50319351/article/details/129373443
Recommended
Ranking