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 trialBlaise Gratton
30,213 PointsShouldn't there be a column titled 'shipped_on'?
Why does the time when an order was placed affect the shipping date? Wouldn't it make more sense to have a column of when it was ordered, the status, and also a shipping date?
2 Answers
Steven Parker
231,261 PointsI thought the same thing myself. But it's just a simple example for doing a few SQL queries, not an example of database design for a specific purpose.
If you or I were building this database, we'd have separate columns for order date and shipping date.
sailor winkelman
2,603 Pointsi just got to this and thought the same thing!
Blaise Gratton
30,213 PointsBlaise Gratton
30,213 PointsOkay, I feel validated now