Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which SQL command removes a table together with all its data and its definition ?

  • A.DELETE FROM STUDENT
  • B.TRUNCATE TABLE STUDENT
  • C.DROP TABLE STUDENT
  • D.REMOVE TABLE STUDENT

Answer: C

Correct answer: DROP TABLE STUDENT

DROP TABLE deletes the rows and the table structure itself. DELETE removes rows subject to a WHERE clause and TRUNCATE removes all rows quickly, but both leave the empty table in place.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.