Если бы я вас правильно понял, это было бы
SELECT dsp_sku,
DECODE (cc.stat_code,
'0', 'Unprocessed',
'90', 'Processed',
'99', 'Expired')
AS status,
TRUNC (cc.create_date_time) cc_date,
CASE
WHEN dsp_sku = 'EGIA60AMT' THEN 'A'
WHEN dsp_sku = 'LF1937' THEN 'A'
WHEN dsp_sku = '980X3ENDIUU' THEN 'A'
WHEN dsp_sku = 'VP521X' THEN 'B'
WHEN dsp_sku = 'FT6009' THEN 'B'
WHEN dsp_sku = '125037' THEN 'B'
WHEN dsp_sku = 'CG925' THEN 'C'
WHEN dsp_sku = 'SPGR101351' THEN 'C'
WHEN dsp_sku = 'CL14MG' THEN 'C'
WHEN dsp_sku = '603011825' THEN 'D'
WHEN dsp_sku = '603011827' THEN 'D'
WHEN dsp_sku = '603011828' THEN 'D'
ELSE NULL
END
AS abc_value, --
COUNT (*) --> this
FROM ...
GROUP BY dsp_sku,
DECODE (cc.stat_code,
'0', 'Unprocessed',
'90', 'Processed',
'99', 'Expired'),
TRUNC (cc.create_date_time),
CASE
WHEN dsp_sku = 'EGIA60AMT' THEN 'A'
WHEN dsp_sku = 'LF1937' THEN 'A'
WHEN dsp_sku = '980X3ENDIUU' THEN 'A'
WHEN dsp_sku = 'VP521X' THEN 'B'
WHEN dsp_sku = 'FT6009' THEN 'B'
WHEN dsp_sku = '125037' THEN 'B'
WHEN dsp_sku = 'CG925' THEN 'C'
WHEN dsp_sku = 'SPGR101351' THEN 'C'
WHEN dsp_sku = 'CL14MG' THEN 'C'
WHEN dsp_sku = '603011825' THEN 'D'
WHEN dsp_sku = '603011827' THEN 'D'
WHEN dsp_sku = '603011828' THEN 'D'
ELSE NULL
END;