December 2005
Intermediate to advanced
336 pages
4h 52m
English
In this chapter, you’ll learn how to combine WHERE clauses to create powerful and sophisticated search conditions. You’ll also learn how to use the NOT and IN operators.
WHERE ClausesAll the WHERE clauses introduced in Chapter 6, “Filtering Data,” filter data using a single criteria. For a greater degree of filter control, MySQL allows you to specify multiple WHERE clauses. These clauses may be used in two ways: as AND clauses or as OR clauses.
Operator. A special keyword used to join or change clauses within a WHERE clause. Also known as logical operators.
AND OperatorTo filter by more than one column, you use the AND operator to append conditions to your WHERE clause. The following ...
Read now
Unlock full access