mysql 查询表 的所有字段名称

select COLUMN_NAME from information_schema.COLUMNS where table_name = 'your_table_name' and table_schema = 'your_db_name'; 
posted @ 2018-11-22 16:51  anxbb  阅读(945)  评论(0编辑  收藏  举报