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 trialchris muhirwa
1,112 Pointsneed help figuring out what am missing in my code
don't know what am missing in my answer to the question
chris muhirwa
1,112 PointsHere are the columns in a users table in an e-commerce site: id, username, password, first_name, last_name.
Run a SQL query to get the two columns you'd need to generate the full names of each customer.
1 Answer
jb30
44,806 PointsSELECT first_name, last_name FROM users;
chris muhirwa
1,112 Pointssorry i had posted the wrong question. the actual question am having trouble with is
****In the e-commerce database there's a customer_addresses table with the following columns: id, nickname, street, city, state, zip, user_id.
Select all the columns that are to do with the address. For example, all columns except id, nickname and user_id.
jb30
44,806 PointsSELECT street, city, state, zip FROM customer_addresses;
jb30
44,806 Pointsjb30
44,806 PointsWhat is your current code, and which task number are you on?