SELECT - SQL Command - WHERE Clause
The WHERE clause specifies join and filter conditions that determine the rows that the query returns. Join operations in the WHERE clause function the same as JOIN operations in the FROM clause.
Note |
|---|
|
Including the EVALUATE( ) function in the WHERE clause of a SQL query can return incorrect data. |
For the more information, see SELECT - SQL Command.
The detailed syntax for the WHERE clause is as follows:
[WHERE JoinCondition | FilterCondition [AND | OR JoinCondition | FilterCondition] ...] |
Parameters
- JoinCondition
-
Specifies conditions on which the tables in a SQL SELECT statement are joined. For multiple join conditions, you must use the AND or OR operator to connect those conditions. For more information about JoinCondition, see the ON clause in the FROM clause.
- FilterCondition
-
Specifies criteria that records must meet to be included in the query results. For more information about FilterCondition, see the ON clause in the FROM clause.
Remarks
Example
See Also
© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic
Note
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08