You need a single case expression as follows:
CASE
WHEN c.Region = e.Region THEN c.Region
WHEN c.City = e.City THEN c.City
WHEN c.PostalCode = e.PostalCode THEN c.PostalCode
END
This assumes that all the columns in THEN
has same data type.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…