Back to the 2024 paper

Unit 2: Relational Query Languages

20242m

Which command is used to remove a relation from SQL?

  • (i) Drop table 
  • (ii) Delete 
  • (iii) Purge 
  • (iv) Remove
Worked SolutionAI Assisted

Answer: (i) Drop table

Explanation: DROP TABLE removes relation schema and data completely from database. DELETE without WHERE deletes all rows but keeps structure (DML). PURGE is Oracle extension to permanently remove from recyclebin. REMOVE is not SQL standard.

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.