1.

Choose the correct command to delete an attribute A from a relation R(a) alter table R delete A(b) alter table R drop A(c) alter table drop A from R(d) delete A from RThe question was posed to me by my school principal while I was bunking the class.The question is from SQL Data definition topic in section Introduction to Relational Model and Sql of RDBMS

Answer»

Correct option is (B) alter table R DROP A

The best I can EXPLAIN: We can delete an attribute from a RELATION using the alter table command with the following syntax

alter tabledrop



Discussion

No Comment Found

Related InterviewSolutions