-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Description
Bug Report for https://neetcode.io/problems/sql-delete-where
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
In the SQL for beginners course, the DELETE WHERE section has below sql command.
DELETE FROM users
WHERE username = NULL;
NULL is unknown. It will not delete anything as unknown will not be found when you use =.
The correct command would be the following (using the IS operator)
DELETE FROM users
WHERE username IS NULL;
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels