mysql常用语句

1.查询某个数据库中表的数量:

SELECT COUNT( * ) FROM information_schema.tables WHERE TABLE_SCHEMA = 'your_db_name'

2.是否支持分区:

show variables like '%partition%'

3.查看表的定义:

show create table table_name

原文地址:https://www.cnblogs.com/i-hard-working/p/9263022.html