Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Databases SQL Basics Getting Data from a Database Review & Practice with SQL Playgrounds

Michael Talbert
PLUS
Michael Talbert
Courses Plus Student 468 Points

On the review/practice for SELECT and Aliasing, it asks to alias the title and year_released. Tells me no title column.

On the reinforcement portion for SELECT and ALIASING. The question to alias title and year_released, when run, tells me there is no column name title. I even tried to copy/paste in the event that I had something I wasn't seeing, but with the same results. Perhaps an additional space or something?

SELECT title AS Title, year_released AS "Year Released" FROM movies;

Or something pretty close. Was just curious. Keep up the good work!!!

2 Answers

Steven Parker
Steven Parker
215,972 Points

I cut-and-pasted your query directly from above into the playground and it ran fine.

Did you possibly type it differently when it failed?

Michael Talbert
PLUS
Michael Talbert
Courses Plus Student 468 Points

I would like to think I did, I checked for additional spaces etc. Perhaps it was just my brain telling me to take a break.

Thank you for confirming I could at least know the query to use.