Programming logic is foundational in any application or piece of
software. Without it, software wouldn’t really do much of
anything. Everything happens off of choice. In the end, some
truthy or falsy value is what makes stuff work.
For IF/THEN/ELSE logic in
standard SQL, there is the CASE expression. There
are 2 variations of the CASE Expression: Simple and
Searched. In this post, I cover the Simple MySQL
CASE expression with example queries…
Image by Nika Akin from …
[Read more]