Master the SQL SELECT statement part 03: CASE

preview_player
Показать описание
This video is part of a multi-part series on mastering the SQL SELECT statement. The SELECT statement, the most often used SQL command, is easy to learn yet difficult to master. Follow along with me and level up your database query super powers!

This video covers using CASE in the projection to derive a column based one or more Boolean expressions. It allows us to handle IF/THEN logic, returning a value when an expression is True.

Рекомендации по теме
Комментарии
Автор

Thanks a lot for this great explanation. I liks youe style😊

dobro-npgs
Автор

Helpful, I was asked to implement histogram using SQL in an interview, I did it using Case statement :)

vinith
Автор

Thank You for this, I am trying to figure out how to use GROUP BY with case statements using SQLSMS ....looks like a mess when I do it.

adisonfryman