mysql 查询某张表的字段

来源:互联网 发布:linux分辨率只有两个 编辑:程序博客网 时间:2024/06/05 12:07
use information_schema;
select column_name,COLUMN_COMMENT,DATA_TYPE
from information_schema.columns where table_schema ='init(schema的名字)'  
and table_name = 't_bc_belongperson(表名)';
0 0