0
First, there is a missing right parentheses here : LEFT(b.col_1, len(b.col_1) -4
Second, you cannot return two columns, use two case statements.
SELECT *,
CASE WHEN a.col_1 IS NULL
THEN LEFT(b.col_1, LEN(b.col_1) -4)
ELSE LEFT(a.col_1, LEN(a.col_1) -4)
EN...