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

Need some help

Now we're using a database from a smartphone. It has a phone_book table. It has the columns id, first_name, last_name and phone.

Delete all contacts with the first name of Jonathan and last name of Luna.

3 Answers

Teacher Russell
Teacher Russell
16,873 Points

I just stumbled on to this question by accident, and don't see the stage you're at, but sounds like the query would go something like DELETE * FROM phone_book WHERE first_name = "Jonathan" AND last_name = Luna; ?

thanks it worked !

Teacher Russell
Teacher Russell
16,873 Points

No problem, glad I could help. Do you understand how it works now?

Yes, I do. I need some help in another course could you look at it? The entity framework basics course.

Teacher Russell
Teacher Russell
16,873 Points

I'm off to work now. Wish I could code and study all day. I'd love the chance to help, if no one else can before I get back. Lots of good folks here at Treehouse. If you're really stuck, take some time. Walk away, even if it's for a whole day or more. You'll figure it out, eventually. The information in the videos is no more important than the skill you develop while trying to solve the problem they've given us:) Happy to help anytime I can. Good luck!