1.

Which of the following commands do we use to delete a relation (R) from a database?(a) drop table R(b) drop relation R(c) delete table R(d) delete from RThis question was addressed to me by my college professor while I was bunking the class.The query is from SQL Data definition topic in section Introduction to Relational Model and Sql of RDBMS

Answer»

Correct choice is (a) drop table R

Best explanation: The drop table command is USED to delete a RELATION from a database WHEREAS the delete table REMOVES all the TUPLES from a re



Discussion

No Comment Found

Related InterviewSolutions