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

Devon Burley
Devon Burley
476 Points

I cant find anything wrong with this.

I have this:

SELECT id, home_team, home_score, away_team, away_score, played_on FROM results WHERE away_team = "Hessle" AND played_on <= "2015-10-01";

Its working fine, but it's telling me I'm not selecting all the columns but it shows all 6.

1 Answer

Steven Parker
Steven Parker
231,269 Points

Usually, when a challenge asks for "all columns", it expects you to use the "SELECT * " shorthand.

Please provide a link to the challenge if that's not it.

Devon Burley
Devon Burley
476 Points

Duh... I can't believe I didn't think of that... Thanks for the help!