背景 今天遇到如下问题,同一sql语句在PLSQL Developer与SQL*PLUS工具中执行结果不一致, sql语句如下 SELECT 'GROUPHEALTH_SEND_EMAIL' as interface, SUM(decode(se.status, 1, 0, 1)) AS count , 0 AS processed , SUM(decode(se.status, 1, 0, 1)) - 0 AS notprocessed FROM cuan_doic.policy po LEF…