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

Isaac Lau
Isaac Lau
3,767 Points

Need Help, keep said not select all record.

select id, home_team, home_score, away_team, away_score, played_on from results where away_team = "Hessle" and played_on >= "2015-10-01";

WHat's the problem?

2 Answers

Steven Parker
Steven Parker
229,982 Points

Try it without listing the columns explicitly.

Just use "SELECT * FROM ..." instead.

If that's not it, please provide a link to the challenge you're working with and I can give a more accurate answer.

Isaac Lau
Isaac Lau
3,767 Points

I was try to advoid using * symbol. But anyway, thank you so much. You are correct. :)