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 trialjacob tungate
7,012 PointsDatabase Foundations Numeric and Aggregate Functions challenge error
Not a question, but figured you may want to look at this, Andrew Chalkley I looked first and found this, https://teamtreehouse.com/forum/database-foundations-numeric-aggregate-functions-errors-in-directions
which is a similar error although not the same
http://i.imgur.com/PuMhsfg.png
As you can see, the challenge is calling for AVG(score) to be alias'd as "average_all_scores" but the "Bummer!" error is asking for AVG(score) to be alias'd as min_score, which looks like it may be related to the other issue posted a year ago, linked above.
Thanks
Andrew Chalkley
Treehouse Guest TeacherWhat was the query you entered?
jacob tungate
7,012 PointsSELECT AVG(*) AS average_all_scores FROM reviews;
which failed, the correct answer was:
SELECT AVG(score) AS average_all_scores FROM reviews;
jacob tungate
7,012 Pointsjacob tungate
7,012 PointsAndrew Chalkley