Sample WHERE clause
|
Indexes used
|
Brackets
|
WHERE Contact = "DLC"
AND (Sales-Rep BEGINS "S" OR Sales-Rep BEGINS "B") |
Cust-Num
|
None
|
WHERE Postal-Code >= "01000"
AND City = "Boston" |
Cust-Num
|
None
|
WHERE Name = "Harrison"
AND Sales-Rep BEGINS "S" |
Name
|
Name
|
WHERE Contact = "DLC"
AND Sales-Rep BEGINS "S" |
Sales-Rep
|
Sales-Rep
|
WHERE Country BEGINS "EC"
AND Sales-Rep BEGINS "S" BY Country |
Country-Post
|
Country-Post
|
WHERE Comments CONTAINS "big" AND Country = "USA"
AND Postal-Code = "01730" |
Comments Country-Post
|
Country Postal-Code
|