mysql查询某个表属于哪个数据库JAY.LIN 收录于 未分类 2024-12-29 约 75 字 预计阅读 1 分钟 目录 mysql查询某个表属于哪个数据库#查找某个表属于哪个数据库SELECT table_schema FROM information_schema.TABLES WHERE table_name =‘表名’;#查找某个字段在哪个数据库和表中有使用到:select table_schema,table_name from information_schema.columns wherecolumn_name = ‘字段名’Please enable JavaScript to view the comments powered by Giscus.