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 trialSobin Sebastian
5,348 PointsThe ____ keyword is used after the ORDER BY clause to order dates from the most recent to the furthest back in time.
The ____ keyword is used after the ORDER BY clause to order dates from the most recent to the furthest back in time.
Whats the answer?
2 Answers
Maximillian Fox
Courses Plus Student 9,236 PointsYou have the two keywords:
-
ASC
- order from lowest to highest alphabetically or numerically, or oldest time to newest time -
DESC
- vice versa
Denis Watida Machaka
7,311 PointsASC
Michael Hulet
47,913 PointsMichael Hulet
47,913 PointsThis is an old thread, but it previously contained a number of other answers. However, they all just explicitly gave the correct answer without explanation of why it's correct, which is frowned upon in the Community. There was only one standout as being a good one, so I've left it and marked it as best