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 Categorizing Your Output with 'AS'

select home_team as "Home Team",home_score as "Home Score",away_team as "Away Team",away_score as "Away Score",played_on

select home_team as "Home Team",home_score as "Home Score",away_team as "Away Team",away_score as "Away Score",played_on as "Dated Played" from results

2 Answers

Steven Parker
Steven Parker
231,269 Points

It's just a spelling error. The output message points it out:
ā€ƒ Bummer: The columns you selected were named Home Team, Home Score, Away Team, Away Score,
ā€ƒ Dated Played and not 'Home Team', 'Home Score', 'Away Team', 'Away Score' and 'Date Played'.

Note the extra "d" in "Dated Played".

Thank you. I totally missed it. I finally figured it out. :):)