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'

Aaron Howarth
Aaron Howarth
169 Points

What am I missing here with my syntax?

Hi, I'm Stuck on this SQL challenge, The code I am using for the answer is - SELECT username AS "Username", first_name AS "First Name" last_name AS "Last Name" FROM users;

However this is wrong, what am I getting wrong here? Thanks Aaron

Aaron Howarth
Aaron Howarth
169 Points

It's challenge number 3 by the way on the 2nd to last Video of SQL Basics

1 Answer

Steven Parker
Steven Parker
231,268 Points

It looks like you are on task 2 (task 3 is about a "phone_book" table). And your code is just missing a comma between the second and third items (first_name and last_name). Otherwise, it looks good! :+1: