I Want to write query using hive with CASE and WHEN.
SELECT CASE WHEN home_score > away_score THEN away_team WHEN home_score < away_score THEN home_team