文章浏览阅读286次。mysqlSELECT IFNULL(ROUND((SUM(IF(psmd.approve_state='0',1,0)) / COUNT(psmd.approve_state is not null))*100,2),'0') refusal,-- 不同意IFNULL(ROUND((SUM(IF(psmd.approve_state='1',1,0)) / COUNT(psmd.approve_state is not null))*100,2),'0') agree, -- 同意IFNUL._mysql 不同......