TheEvilZX2
Technical User
I have been trying to teach myself SQL for the past few days. I work in an automotive shop and we use Winworks Motor Marketing machine, which uses SQL. I have succesfully searched for and found some of the thigns i was trying to figure out using SQL but im stumped on this one.
Basically I am trying to get a list of all of our customers who have spent money with us in the years 2005 and 2004.
the SQL statement i thought was going to work was:
select * from customer where dollars spent > 0 since #01/01/05# and #12/30/05
The marketing machine tells me:
Invalid SQL statement. Error: Syntax error (missing operator) in query expression 'dollarsspent > 0 since #01/01/05# and #12/30/05
We bought the SQL for Dummies Book and it doesnt seem to help much.
Can anyone tell me what im doing wrong or how to ask it exactly what i want?
Basically I am trying to get a list of all of our customers who have spent money with us in the years 2005 and 2004.
the SQL statement i thought was going to work was:
select * from customer where dollars spent > 0 since #01/01/05# and #12/30/05
The marketing machine tells me:
Invalid SQL statement. Error: Syntax error (missing operator) in query expression 'dollarsspent > 0 since #01/01/05# and #12/30/05
We bought the SQL for Dummies Book and it doesnt seem to help much.
Can anyone tell me what im doing wrong or how to ask it exactly what i want?