-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Description
Bug Report for https://neetcode.io/problems/sql-delete-returning
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
Below is the command mentioned in the SQL-delete- returning section.
DELETE FROM users
WHERE username = NULL;
RETURNING id, username, email;
There is a misplaced semicolon (;) after NULL. That semicolon should be removed. There should be only one semicolon at the end of the SQL statement. Here, the end of the statement is after the 'returning' section to notify the database that the statement is finished.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels