Welcome to the Treehouse Community
Looking to learn something new?
Jonathan GrieveTreehouse Moderator 90,956 Points
I've selected all the columns required but the task won't pass.
Here's a tricky one.
The Questions is as follows
We're back in the sports team database. There's a results table with the columns id, home_team, home_score, away_team, away_score and played_on . Find all the matches in the results table where "Hessle" was playing away as the away team and if they played on or after October 1st 2015. Date format is "YYYY-MM-DD".
To which my response is
select id, home_team, home_score, away_team, away_score, played_on from results where away_team = "Hessle" AND played_on >= "2015-10-01";
But it keeps telling me I've not selected all the columns. What am I missing? :)
Steven Parker220,425 Points
You didn't provide a link to the challenge, but assuming that is a complete list of the table's columns...