We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
SELECT orderID, buyerName, BuyerAddress1, BuyerAddress2, BuyerAddress3, buyerCounty, buyerPCD, catID, quantity, totalPrice FROM salesuk WHERE invoiceDate >= "01/01/2017" ORDER BY DESC;
That type of query ... hope that helps?
J
Sharath S
Can you provide some sample data and expected result?
Ridgejp
ASKER
This is the code I was looking for, which produces a 21 rolling day view: -
WHERE invoiceDate >= now() - INTERVAL 21 DAY
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
Ridgejp
ASKER
Thanks for the prompt made me realise I knew enough to work it out!
Yes so a typical query might look like: -
SELECT orderID, buyerName, BuyerAddress1, BuyerAddress2, BuyerAddress3, buyerCounty, buyerPCD, catID, quantity, totalPrice FROM salesuk WHERE invoiceDate >= "01/01/2017" ORDER BY DESC;
That type of query ... hope that helps?
J