Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个列名,我想知道该列属于哪个表?或者更像是在 mysql 的数据库中获取具有此列的表的列表。
提前致谢!维杰·塞卡
可以查询information_schema数据库:
information_schema
SELECT TABLE_SCHEMA, TABLE_NAME FROM information_schema.`COLUMNS` WHERE COLUMN_NAME = 'your_column_name'