直接看information_schema下的COLUMNS表就行吧 select * from information_schema.COLUMNS where table_name='xxx';
select * from information_schema.COLUMNS where table_name='xxx';