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 trial

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!!!

3 Answers

Steven Parker
Steven Parker
229,670 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.

Is it illegal to use a leading _xxxx, _yyyy, _xyyy2v1 for every variable. Your eyes could get confused unless every "as" access from table "HERE" is uniform. You know so the database doesn't confuse the printer. I could just stare at video card version revisions.