in Databases recategorized by
2,804 views
3 votes
3 votes

Consider the following two comments C1 and C2 on the relation R from an SQL database: 

C1 : drop table R;

C2 : delete from R

  1. Both C1 and C2 delete the schema R
  2. C2 retains relation  R, but delets all tuples in R
  3. C1 deletes not only all tuples, but also the schema for R
    1. I only
    2. I and II only
    3. II and III only
    4. I, II and III only
in Databases recategorized by
2.8k views

1 Answer

3 votes
3 votes
Best answer
Option c answer

Drop command remove all tuples of the relation as well as schema also

 Delete command in sql removes tuples from the relation  but retain the schema of table in database .
selected by
Answer:

Related questions