我有我做过的最长的案例陈述,我无法解决这个错误。IT 说它附近有语法错误),我很尴尬,我无法弄清楚这么简单的错误
SUM(CASE
WHEN COL_V_STD_REP_FullCourseDetail.SYSTEM = 'GEMS'
THEN CASE
WHEN RRDD LIKE '12%' OR RRDD LIKE '13%' OR RRDD LIKE '16%' OR
RRDD LIKE '17%' OR RRDD LIKE '2706%' OR RRDD LIKE '2707%' OR
RRDD LIKE '2331%'
THEN [DUR_IN_Hours]
ELSE 0
END) AS SP_DOM_INTL_HRS