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 trialRyan Leenay
12,504 PointsCurrent quiz question does not make sense.
Today's report quiz question is Count the total number of orders that have the status of shipped today.
This is an impossible question as the only data relating to date is the date that it was ordered.
2 Answers
Ryan S
27,276 PointsHi Ryan,
I'm not sure which challenge you are working on, but it sounds like the question is asking about the status of the orders, not the date. The status would have a value of "shipped today", and that is what you would need to include in your query. The actual date seems to be irrelevant based on what you described.
If this is not the case then please link to the challenge and we can look at it closer.
Good luck.
Duncan Kile
6,341 PointsYou are correct; that question was worded incorrectly. What worked for me was the assumption that all orders shipped same-day, even though the problem did not state this.
So, everything with the status of shipped and an ordered-on-date of today satisfied the checker for me, as loose as that logic happens to be.