Trying To use SQL BETWEEN command

CasitaProgrammer

Registered User.
Local time
Today, 06:21
Joined
Mar 20, 2011
Messages
13
I am trying to sort PRODUCTS table ListPrice column with ListPrice values between $15.00 and $20.00.
I enter:
SELECT * FROM PRODUCTS
WHERE ListPrice
BETWEEN "$15.00" AND "$20.00";

I keep getting error wrong criteria window
 
See if this works better:

BETWEEN 15 AND 20;

(and you don't put anything in quotes if it isn't text. Dates get octothorpes (#) and numbers get nothing)
 
It worked in seconds. It is amazing when the correct data is entered.
I am just beginning to learn Access and SQL

How do I go in and edit info for CasitaProgrammer?
KW
 

Users who are viewing this thread

Back
Top Bottom