SELECT (CASE WHEN 1 = 1 THEN 1 ELSE 0 END) AS test then 后面为case when为true时结果 else中为case when为false时结果