mysql命令查询表的个数
https://blog.csdn.net/xiao__ge/article/details/56671221
语句如下:
- SELECT count(TABLE_NAME) FROM information_schema.TABLES WHERE TABLE_SCHEMA='dbname';
其中dbname是要查看的数据库的名字。
查看表结构:
- description tbname;
也可使用简写:
- desc tbname;