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

Hawkar Mohammad
Hawkar Mohammad
843 Points

How to solve this DELETE Query?

Challenge Task 2 of 3

The same eCommerce database has a users table. It has the columns id, username, password, first_name, and last_name. Delete the user with the username of poley_hands. Type in your command below.

1 Answer

Steven Parker
Steven Parker
231,269 Points

Please give it your best "good faith" attempt, and show your code if you still have trouble.

But as a general hint, you'll probably want to use a WHERE clause to identify the specific record to delete.

And it's always helpful to provide a link to the course page you are working with.

Hawkar Mohammad
Hawkar Mohammad
843 Points

Thanks bro, I solve the problem