Sql: how to delete data from a table?

Example:

DELETE FROM users WHERE id = 1;
The DELETE statement is used to delete existing records in a table. It's crucial to use the WHERE clause to specify which record(s) to delete.

Solution:

DELETE FROM users WHERE username = 'oldUsername';

Beginner's Guide to SQL