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

1 Answer

Jeffrey Howard
Jeffrey Howard
15,320 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!