以下是模糊查找包含'pass'字段的SQL查询语句,并按列的数量从大到小排序并显示出来:

SELECT table_schema, table_name, column_name, COUNT(*) as column_count FROM information_schema.columns WHERE column_name LIKE '%pwd%' OR column_name LIKE '%pass%' GROUP BY table_schema, table_name, column_name ORDER BY column_count DESC;


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

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