← Quiz: SQL Basics: all 10 questions
Quiz: SQL Basics · Question 9 of 10
What does DELETE FROM students; (no WHERE) do?
What does DELETE FROM students; (no WHERE) do?
- A.Deletes every row but keeps the table
- B.Deletes the table
- C.Gives an error
- D.Deletes only the first row
Answer & explanation
Correct answer: Deletes every row but keeps the table
Without WHERE, DELETE affects all rows.
Can you get the rest right without peeking?
Take the timed Quiz: SQL Basics quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →