您好,欢迎访问一九零五行业门户网

mysql 常用sql操作语句_MySQL

获取数据库里所有表
select table_name,table_rows from information_schema.tables where table_schema='数据库名'
获取表里所有字段
select column_name from information_schema.columns where table_schema='数据库名' and table_name='表名'

其它类似信息

推荐信息