Sample WHERE clause
|
Indexes used
|
WHERE Customer.Comments CONTAINS "big"
AND Customer.Country = "Canada" |
Comments
|
Sample WHERE clause
|
Indexes used
|
WHERE Customer.Cust-Num = 10
AND Customer.Sales-Rep = "DR" |
Cust-Num
|
Sample WHERE clause
|
Indexes used
|
WHERE Customer.Country = "Costa Rica"
AND Customer.Postal-Code > "3001" AND Customer.Sales-Rep BEGINS "S" |
Country-Post
|
WHERE Customer.Name = "Harrison"
AND Customer.Sales-Rep BEGINS "S" |
Name
|
WHERE Customer.Name = "Harrison"
AND (Customer.Country = "Finland" OR Customer.Country = "Denmark") |
Name
|
Sample WHERE clause
|
Indexes used
|
WHERE Customer.Sales-Rep = "ALH"
AND Customer.Country = "Italy" AND Customer.Postal-Code BEGINS "2" |
Country-Post
|
WHERE Customer.Contact = "DLC"
AND Customer.Sales-Rep BEGINS "S" |
Sales-Rep
|
WHERE Customer.Contact = "Ritter"
AND Comments CONTAINS "compute*" |
Comments
|
Sample WHERE clause
|
Indexes used
|
WHERE Customer.Country BEGINS "EC"
AND Customer.Sales-Rep BEGINS "S" BY Country |
Country-Post
|
WHERE Customer.Contact = "Wilson"
AND Customer.Credit-Limit > 2000 BY Name |
Name
|
WHERE Name = "Wilson"
OR Customer.Credit-Limit = 2000 BY Sales-Rep |
Sales-Rep
|
Sample WHERE clause
|
Indexes used
|
WHERE Customer.Name = "Samali"
AND Customer.Sales-Rep = "BCW" |
Name
|
WHERE Customer.Country BEGINS "EC"
AND Customer.Sales-Rep BEGINS "B" Postal-Code |
Sample WHERE clause
|
Indexes used
|
WHERE Customer.Contact = "MK"
AND (Customer.Sales-Rep BEGINS "S" OR Customer.Sales-Rep BEGINS "B") |
Cust-Num
|
WHERE Customer.Postal-Code >= "01000"
AND Customer.City = "Boston" |
Cust-Num
|
WHERE "meaningless expression"
|
Cust-Num
|