November 2009
Intermediate to advanced
796 pages
16h 57m
English
5.01 Limit the Rows That Are Retrieved by a Query
5.02 Sort the Rows That Are Retrieved by a Query
This chapter looks at two clauses of the SELECT statement: the WHERE clause and the ORDER BY clause. The WHERE clause specifies the criteria that are required for a row to be included in a SQL statement. Without it, all rows in a given table are retrieved, but with it, a SQL statement can selectively target particular rows for processing. The ORDER BY clause sorts the retrieved rows. It’s very flexible: it can sort rows in ascending or descending order, or it can ...
Read now
Unlock full access