Unit 3 RDBMS - 5 Sessions Notes
Unit 3 RDBMS - 5 Sessions Notes
Session 1:
1. A table is a set of data elements that is organized using a model of vertical columns and
horizontal rows.
2. A column is a set of data values of a particular type, one for each row of the table.
3. A row represents a single, data item in a table.
4. Datatypes are used to identify which type of data we are going to store in the database.
5. There are two ways to create a table.
6. Field properties can be set in both the wizard and design view.
Short Answer Questions
1. In how many ways tables can be created in Base?
A. There are different ways to create a table:
1. Create table in Design View
1. What is the file extension for databases related using Openoffice.org Base?
A. ‘.odb’ is the file extension for the databases which are created using the OpenOffice
org Base.
2. List any three file formats that can be managed using openoffice.org Base?
A. Three file formats that can be managed using OpenOffice.Org Base.
• .odb.- open office database
3. How many types of relationships can be created in Base? Explain each of them.
A. There are three types of relationship in OpenOffice Base.
ONE to ONE : In this relationship, both the tables must have primary key columns.
Example: In the given tables EMP and DEPT, EMP_ID in EMP table and DEPT_ID in DEPT
table are the primary keys.
ONE to MANY : In this relationship, one of the table must have primary key column. It
signifies that one column of primary key table is associated with all the columns of
associated table.
MANY to MANY : 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.
4. What do you mean by sorting? In how many ways it can be done?
A. Sorting means arranging elements in particular sequence. It can be done in two ways.
1. Increasing order 2. Decreasing Order
Session 4:
Fill in the blanks
1. A form helps the user to systematically store information in the database.
2. A form enables users to view, enter, and change data directly in database
objects such as tables.
3. Select Statement retrieves zero or more rows from one or more database tables
or database views.
4. By default, data is arranged in ascending order using ORDER BY clause.
5. Update Statement is used for modifying records in a database.
6. Delete Statement is used to remove one or more records in a database.
Session 5:
Fill in the blanks
1. To create a form you need to select form_ option available under database selection.
2. A query helps to collect specific information from the pool of data in the database.
3. A Report is used to display the summary of the data.
4. Forms are the interfaces with which the user interacts.
5. Data from multiple tables can be linked with the help of primary key and foreign key
constraints.