#根据字段差表
SELECT DISTINCT TABLE_NAME FROM information_schema.`COLUMNS` WHERE
COLUMN_NAME = 'cert_status' AND TABLE_SCHEMA = 'gteam_manage' AND TABLE_NAME NOT LIKE 'vm%';
#根据字段差表
SELECT DISTINCT TABLE_NAME FROM information_schema.`COLUMNS` WHERE
COLUMN_NAME = 'cert_status' AND TABLE_SCHEMA = 'gteam_manage' AND TABLE_NAME NOT LIKE 'vm%';
本文标题:Mysql 根据字段查询所有表
本文链接:https://www.haomeiwen.com/subject/rjoigrtx.html
网友评论