You are on page 1of 2

Chapter 12 Performing Operations on Tables

B. Fill in the Blanks.


1. Referential Integrity rule states that a foreign key must have a
matching Primary key.

2. Relationships are the links that associate a field in one table with a field in the
other.

3. In One-to-One relationship, a record in a table can have only one matching


record in another table, and vice versa.

4. You cannot implement the Many-to-Many are the special characters that are
used as substitutes for one or more characters in a string.

5. A Field property defines the characteristics of the field.

C. Answer the following questions.


Q1. What is the use of tables in database?

Ans. Tables are the easiest way to store, organise, and present a large amount
of information. They are the building blocks of a database. Tables play an
important role in storing data. All the data is stored in the database in tabular
form. A well-designed table helps the users to retrieve the data from a database
easily.

Q2. How can you sort records of a table in descending order?

Ans. • Open a table and select the field according to which you want to sort the
data.
• Click on the Sort in Ascending Order or Sort in Descending Order button on
the Table Data toolbar.

Q3. Describe Referential Integrity.

Ans: Referential Integrity (RI) is a rule in RDBMS. It states that a foreign key
must have a matching primary key, ie, all its references must be valid and the
users cannot accidentally delete or amend the data. It ensures the accuracy and
consistency of the data within a relationship, and prevents the users to enter the
inconsistent data.

Q4. List the different types of relationships.

Ans. There are three types of relationships:


• One-to-One
• One-to-Many
• Many-to-Many

Q5. Give an example of many-to-many relationship.

Ans. Example that represents many-to many relationship is the relationship of


students and subjects, where a student can opt several subjects, whereas a
subject can be studied by several students at a time.

You might also like