查询结果显示

desc 表名;
show columns from 表名;
describe 表名;

sql语句显示

show create table 表名;


还可以通过专门的管理表来查看

use information_schema
select * from columns where table_name='表名';
Logo

更多推荐