Which SQL query removes a table and all its data?
-
A
DELETE
-
B
TRUNCATE
-
C
DROP
Correct answer
-
D
REMOVE
10 views
Explanation
DROP TABLE removes the entire table structure and data. Source: studocu.com, Q5.
Reference
Asked in: FPSC,CSS,NTS,PPSC,PMS
Doubts & discussion
Not sure why the answer is C? Ask here and get an explanation.
Ask a doubt about this MCQ