📌  相关文章
📜  在所有表中查找一列mysql代码示例

📅  最后修改于: 2022-03-11 15:05:06.709000             🧑  作者: Mango

代码示例2
SELECT DISTINCT TABLE_NAME 
    FROM INFORMATION_SCHEMA.COLUMNS
    WHERE COLUMN_NAME IN ('columnA','ColumnB')
        AND TABLE_SCHEMA='YourDatabase';