如何查询数据库的表数量
一:使用场景1):查询表的数量,用于统计表格情况
SELECT COUNT(*) TABLES, table_schema FROM information_schema.TABLES WHERE table_schema = 'hyhhdiy_personal'
2):修改表的备注信息
alter table t_assigncode_product_price comment '产品价格表';
一:使用场景1):查询表的数量,用于统计表格情况
SELECT COUNT(*) TABLES, table_schema FROM information_schema.TABLES WHERE table_schema = 'hyhhdiy_personal'
2):修改表的备注信息
alter table t_assigncode_product_price comment '产品价格表';