1.

Which of the following commands do we use to delete all the tuples from a relation (R)?(a) delete table R(b) drop table R(c) delete from R(d) drop from RThe question was asked in an interview for internship.I want to ask this question from SQL Data definition in division Introduction to Relational Model and Sql of RDBMS

Answer»

Right option is (C) DELETE from R

For explanation: The delete from command is used to delete all the TUPLES in a relation. The DROP table totally deletes a relation.



Discussion

No Comment Found

Related InterviewSolutions