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

Mike Nunyabeez
Mike Nunyabeez
4,677 Points

Now we're in the e-commerce database. In the users table we have the columns id, username, password, first_name and

Now we're in the e-commerce database. In the users table we have the columns id, username, password, first_name and last_name. Highly annoyed, someone please answer this. The last thread for this question has gone unanswered for two months.... MODS?

Thomas Nilsen
Thomas Nilsen
14,957 Points

What exactly is your question?

1 Answer

Steven Parker
Steven Parker
231,248 Points

But it might be the same one as in some previously answered questions like this one or this one.

The answer given in both of those is:

SELECT * FROM users WHERE last_name = "Hinkley" OR last_name = "Pettit";