My SQL获取某个表的列名
DESC TableName
SHOW COLUMNS FROM TableName
SELECT COLUMN_NAME FROM information_schema.columns WHERE table_name='tablename'
DESC TableName
SHOW COLUMNS FROM TableName
SELECT COLUMN_NAME FROM information_schema.columns WHERE table_name='tablename'