标签:查询 order by rom ble SQ sch esc HERE mat
-- 查询某数据库中所有表及其记录数
SELECT table_name,table_rows FROM information_schema.tables
WHERE TABLE_SCHEMA = ‘awreporting‘
ORDER BY table_rows DESC;
-- 查询某数据库中有某字段的表
SELECT table_name FROM information_schema.columns
WHERE table_schema = ‘awreporting‘ AND column_name LIKE ‘%AUTH_TOKEN%‘;
标签:查询 order by rom ble SQ sch esc HERE mat
原文地址:https://www.cnblogs.com/yuezeyuan/p/9112883.html