select table_schema ,table_name from information_schema.columns where column_name = ‘字段名’
查询结果table_schema为数据库名,table_name为表名
mysql查询字段属于哪个表
最新推荐文章于 2024-04-15 14:52:59 发布
select table_schema ,table_name from information_schema.columns where column_name = ‘字段名’
查询结果table_schema为数据库名,table_name为表名