Tell please how can select 2 or more columns on condition? I trying this, but not works
SELECT
CASE
WHEN 1=1 THEN 'A', 'B'
ELSE 'C', 'D'
END
If trying select only 1 value
WHEN 1=1 THEN 'A'
ELSE 'C'
it works
Use two
CASEexpressions: