首页  >  文章  >  数据库  >  MySQL Table Information_MySQL

MySQL Table Information_MySQL

WBOY
WBOY原创
2016-06-01 13:17:26755浏览

show tables;                    --显示该数据库里的所有表
show columns from 表名;         --显示表字段
use information_schema
select * from columns where table_name='表名'; --显示表字段

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn