Skip to main contentSkip to solution

DELETE statement __________.

Solution

✅ Correct Option: 1

The SQL DELETE statement removes one or more rows (records) from a table, usually filtered with a WHERE clause, for example DELETE FROM student WHERE roll_no = 5;\texttt{DELETE FROM student WHERE roll\_no = 5;}. The table structure stays intact.


Option 4: this describes DROP, which removes the whole table or database permanently, including its structure.

Option 3: this describes the COUNT() function, which returns the number of records.

Option 2: this describes RTRIM(), which removes trailing spaces from a string.

Without a WHERE clause, DELETE removes all rows but keeps the empty table.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question