SELECT '直接通过' [FL],COUNT(DISTINCT(FD_NUMBER)) [SL] FROM TABLE A WHERE NOT EXISTS (SELECT FD_NUMBER FROM TABLE B ON A.FD_NUMBER=B.FD_NUMBER AND B.FD_ACTION_KEY='handler_refuse')
union all
SELECT '驳回过' [FL],COUNT(DISTINCT(FD_NUMBER)) [SL] FROM TABLE where FD_ACTION_KEY='handler_refuse'