April 2008
Intermediate to advanced
566 pages
21h 55m
English
MySQL has a few built-in flow control functions that you can use in SQL statements for more precise and directed results. This chapter provides the syntax of function and gives examples of their use. For the examples in this chapter, a fictitious database for a stock broker is used.
The following functions are covered in this chapter:
CASE, IF(), IFNULL(), ISNULL(), NULLIF().
The following are the MySQL flow control functions listed alphabetically.
Read now
Unlock full access