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 trialCalvin . T Rupango
6,083 PointsChallenge Task 1 of 1
That's my solution for the challenge and i don't know where i get it all wrong please assist.
SELECT min(rating) AS star_min, Max(rating) as star_max FROM reviews WHERE movie_id = 6;
Calvin . T Rupango
6,083 Pointshello below is the link to the challenge....
please help.
2 Answers
György Varga
19,198 PointsHi!
Here is the correct code. Please notice the difference!
SELECT MIN(rating) AS star_min, MAX(rating) AS star_max FROM reviews WHERE movie_id = 6;
Calvin . T Rupango
6,083 PointsThank you so much.
I noticed that i was suppose to capitalize the other keywords.
György Varga
19,198 PointsGyörgy Varga
19,198 PointsPost the link for the challange please!