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

query for Name autocomplete??

We're still using the phone_book table. Remember it has the columns of id, first_name, last_name and phone.

Imagine a user is typing someone's last name in a search facility on the phone. As the user types, suggestions will appear on the screen. Bring back both the first name and last name for every person in the phone book. The phone will filter the appropriate suggestions.

Steven Parker
Steven Parker
231,007 Points

It looks like you've just copied the instructions from a challenge here. Did you have a question about it?

And if you need help with your work, please show your complete query here and provide a link the the course page.

1 Answer

not sure what your question is on this since it looks like you just copied the challenge instructions but here is the query you would use for it:

select first_name, last_name from phone_book

Steven Parker
Steven Parker
231,007 Points

:warning: FYI: Explicit answers without any explanation are strongly discouraged by Treehouse and may be subject to redaction by staff or moderators.