Retrieving Rows |
||||
You can use the selection capability of SQL to choose the rows that you want to retrieve from a table. You can specify various criteria to select the rows that you want to see. You can restrict the number of rows that are retrieved from the database by using a WHERE clause in a SQL statement. By inserting a WHERE clause into a SQL statement, you can specify a condition that must be met, and only the rows that meet the condition are returned. When using a WHERE clause:
Learn more about the WHERE clause
SELECT [DISTINCT] * | column [alias], ... FROM table condition : The condition consists of three components:
|