以下是根据模糊查找 'pass' 字段,并按列数量从大到小进行排序的 SQL 查询:

SELECT table_schema, table_name, column_name 
FROM information_schema.columns 
WHERE column_name LIKE '%pwd%' OR column_name LIKE '%pass%'
ORDER BY table_schema, table_name, column_name DESC;

原文地址: http://www.cveoy.top/t/topic/pFpz 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录