Summary for Flow Control Functions
Summarize the key insights you’ve explored about flow control functions in MySQL.
We'll cover the following
Flow control is an important concept in imperative programming languages beyond SQL that we are often not aware of explicitly. While flow control is part of implementing imperative programming languages like Python, the story differs for declarative programming languages like SQL. That is because it is like declarative programming languages to describe what a program should achieve rather than how. Nonetheless, MySQL provides four different flow control functions, namely CASE
, IF
, IFNULL
, and NULLIF
.
Get hands-on with 1400+ tech skills courses.