Class XI-802 - Unit 4 RDBMS
Class XI-802 - Unit 4 RDBMS
Unit 4 RDBMS
Domain table or relation record field primary key candidate key alternate key foreign key
8. Write SQL statement to view names of all the tables contained in current database.
9. In a database there is a table cabinet. The data entry operator is not able to put NULL in
column of cabinet ?What may be the possible reason(s)?
10. In a database there is a table cabinet .The data entry operator is not able to put duplicate
value in a column of cabinet?What may be the possible reasons?
12. There is a table T1 with combination of columns C1 C2 and C3 as its primary key? is it
possible to enter:
13. At the time of creation of table X, the database administrator specified Y as the primary key.
Later on he realized that instead of Y the combination of P and Q should have a primary key of
the table. Based on this scenario answer the following questions:
(a) is it is possible to keep Y as well as the combination of P and Q as the primary key?
(b) what statement(s) should be enter to change the primary key as per the requirement.
14. Does MySQL allow to change the primary key in all the cases ? If there is some special case ,
please mention.
15. What is the difference between DELETE and DROP commands of SQL?
(a) Change
(b) Modify
(c) Update
(d) Save As
(a) Delete
(b) Drop
(c)Truncate
(d) Remove