Databases Modifying Data with SQL Deleting Data From a Database Deleting Data With SQL

Cliona Dowling
Cliona Dowling
559 Points

What's the issue with this statement: DELETE FROM users WHERE username = poley_hands;

Need to delete user from users database with the username poley_hands

2 Answers

Jeffrey Howard
Jeffrey Howard
17,065 Points

Hi Cliona,

You are almost there, just need quotes around the username "poley_hands".

DELETE FROM users WHERE username = "poley_hands";

Hope this helps. Happy coding!