Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
You have a number of different ways to limit the search of rows within a query. Some of the most basic revolve around the three basic relational operators: <, >, and = (less than, greater than, and equal to). There is also the keyword NOT, which could be included with these three operators; however, NOT does not work as in other programming languages that you may have come across: this will be demonstrated within the example in this section so you know how to use the NOT operator successfully.
All of these operators can be found in the WHERE condition of the SELECT statement used to reduce the number of rows returned within a query.
Note You may come across some legacy code in which you will find that the