Professional Documents
Culture Documents
Unit 3 - DBMS - Ques Bank With Answers
Unit 3 - DBMS - Ques Bank With Answers
KINDLY NOTE- The answers for application/competency-based questions have not been given. They
have to be done by the student as per his/her own discretion
2. State the relationship and difference between a primary and foreign key?
ANS. A primary key acts as a unique identifier for each record meaning it uniquely identifies each
row/record in a table. "A foreign key" is a field in one table that relates the tables together.
The primary key attributes cannot have NULL values however; a foreign key can have a NULL
value.
10. How many types of relationships can be created in Base? Explain each of the them.
ANS. There are three types of relationships which can be created in tables:
1. ONE to ONE
2. ONE to MANY OR MANY to ONE
3. MANY to MANY
1. ONE TO ONE RELATIONSHIP- In this relationship, both the tables must have primary key
columns.
2. ONE TO MANY RELATIONSHIP- In this relationship, one of the tables must have primary key
column.
It signifies that one column of primary key table is associated with all the columns of associated table.
3. MANY TO MANY RELATIONSHIP- In this relationship, no table has the primary key column. It
signifies that all the columns of primary key table are associated with all the columns of associated
table.
11. What do you mean by Sorting? In how many ways it can be done?
ANS. Sorting means to arrange the data systematically in a particular order. It can be done in either
ascending order or descending order.
20. In how many ways Forms and Reports can be created in a database?
ANS. Two ways- create form/ report in design view
- use wizard to create form/report
3.