SQL codeSELECT * FROM TABLE1WHERECASE WHEN COLUMN1 like '%小王%' THEN 1ELSE(CASE WHEN COLUMN2 like '%小王%' THEN 1ELSE(CASE WHEN COLUMN3 like '%小王%' THEN 1 ELSE 0 END)END)END =1