Master the SQL SELECT statement part 03: CASE

Опубликовано: 22 Октябрь 2024
на канале: Michael Fudge
1,671
45

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.

The SQL code is available here: https://github.com/mafudge/learn-data...

If you need to setup your own database environment, check out learn-databases! The easy way to get going and follow along with these videos.    • Learn Databases Walkthrough  

This video is part of the textbook Applied Database Management https://applieddb.com

Here's the entire playlist:    • Applied Database Management with SQL