select table_schema from information_schema.TABLES where table_name = ‘表名’
mysql通过表名查所属库名
最新推荐文章于 2023-01-10 19:15:00 发布
select table_schema from information_schema.TABLES where table_name = ‘表名’