根据字段名查询数据库和对应的表

select table_schema,table_name from information_schema.columns where column_name = 'user_active'

table_schema:库名

table_name:表名

查询结果:

猜你喜欢

转载自blog.csdn.net/qq_16246279/article/details/87879351
今日推荐