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 trialDominik Singer
3,528 PointsWhat am i doing wrong?
Hey There,
i receive the error "Not all Columns selected"
Waht am i doing wrong?
best,
Dominik
Maximiliane Quel
Courses Plus Student 55,489 PointsHi Dominik,
did you find a solution?
Unfortunately, we cannot see your challenge or the code that you tried to use, so you need to give us a little more information, by posting your code and, for extra convenience, including information and a link to the challenge you tried.
1 Answer
Steven Parker
231,261 PointsAs others have pointed out, it is difficult to know exactly what went wrong without knowing which challenge you were working on and what code you entered. But I can give you some general hints:
"All columns" is generally represented by the asterisk (*) symbol. So it's possible that your answer was expected to include, at least in part, this construct:
SELECT * FROM your_table
The other possibility that comes to mind is if the challenge specifically named things you were supposed to select but you missed one or more. For example, if the table included columns first_name, last_name, age (among other things); and the challenge asked you to "select the full name of each person over 21", you would need to say:
SELECT first_name, last_name FROM people WHERE age > 21;
Hopefully these hints will get you going. If not, please amend your question and add the specific challenge and your response.
Ken Alger
Treehouse TeacherKen Alger
Treehouse TeacherCan you show what SQL statement you tried?