Pergunta de entrevista da empresa DaVita

Difference between a case statement and an if statement for SQL