What you wanna do with the iif?
# squarelibraries
b
What you wanna do with the iif?
k
I was looking for simple conditional
SELECT
like:
Copy code
selectWinner:
SELECT IIF(set_model.away_score > set_model.home_score, away_team.team_id, home_team.team_id)
👍 1