mysql获取某张表的字段名称


select COLUMN_NAME from information_schema.COLUMNS where table_name = 'your_table_name' and table_schema = 'your_db_name';
posted @ 2019-05-30 15:51  leon-chan  阅读(1520)  评论(0编辑  收藏  举报