DaVita interview question

Difference between a case statement and an if statement for SQL