mysql记录如下:
对于在mysql查询数据库中某个字段归属哪些表中,可参考如下的sql去查找,
select table_name from information_schema.columns where table_schema = ‘库名’ and column_name=‘字段名’;
纯属个人记录
mysql记录如下:
对于在mysql查询数据库中某个字段归属哪些表中,可参考如下的sql去查找,
select table_name from information_schema.columns where table_schema = ‘库名’ and column_name=‘字段名’;
纯属个人记录