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 Code Challenge Problem (I'm pretty sure I got it right, but it's saying its wrong)

Hello Treehouse,

I was on my way, doing a code challenge, when this particular task was giving me trouble.

I'm 90% sure I am doing this right, but I keep getting it wrong (apparently) and I cannot move on in the track.

Here is a screenshot of the task and my code.

https://gyazo.com/a49830a5dbb2734137ab91454c74f7e3

If someone could help me with this, that'd be great. Because I cannot move forward now.

Thanks,

1 Answer

Steven Parker
Steven Parker
229,732 Points

It looks like you have a typo (or misspelling).

The challenge wanted you to alias the first column as "initial" (with 3 "i"s), but you wrote "inital" (just 2 "i"s).

This was tough to spot with just a screenshot. To facilitate the most complete and accurate analysis, always include your code (in a copy-paste-able form) and provide a link to the course page you were working with.