Hi, can anyone help me, my boss has asked me to archive all products that have not been ordered for the past 6 months.
I'm new to this but I know it is a Make-Table query, so I tried;
Select ProductID, OrderDate
From Product, Order (Inner Join,etc.......)
WHERE (((Order.OrderDate)<Date()-180))...
I can't get this right, I need to find an update query that will update the status of all unpaid orders of over 1 month to 'red'.
I've tried
UPDATE Customer
SET Customer.Status="Red"
WHERE Paid="No"
AND OrderDate=Now()>30
but it doesnt work. Can anyone help me?
Thanx x
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.