Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKarlijn Willems
9,961 PointsI can't seem to figure this one out... where do I put the DATE() function?
I tried several columns as a parameter in de COUNT() function and tried a few different formats of the status... Could anyone please help me further here on how I have to tell the database I want the count of the orders that are shipped today?
2 Answers
Steven Parker
231,236 PointsYou forgot to provide a link to the course page, but just from memory I seem to recall that one of the fields was
something like "ordered_on", which you would compare with today's date in the WHERE
clause. And you would also need to check that the "status" was "shipped".
Karlijn Willems
9,961 PointsThank you for your respond. It work this way... I thought it was looking for the status dat it was shipped today, so not ordered_on today... anyways, thnx! :)
Steven Parker
231,236 PointsThat was my first thought too, but the it wasn't part of the data. The instructions could possibly be re-worded to be a bit more clear.