Download as pdf or txt
Download as pdf or txt
You are on page 1of 54

VOCATIONAL SKILL

PART – B

UNIT- III
DATABASE MANAGEMENT SYSTEM
SESSION 1 : Appreciate the concept of
Database Management
System
SESSION 2 : Create and edit tables using
wizard and SQL commands
SESSION 3 : Perform operations on table
SESSION 4 : Retrieve data using query
SESSION 5 : Create Forms and Reports
using wizard
SESSION- 1
Appreciate the concept of Database
Management System
Appreciate the concept of Database
Management System
• Concept and examples of data and information.
• Concept of database.
• Advantages of database.
• Features of database.
• Concept and examples of Relational database.
• Concept and examples of field, record, table, database.
• Concept and examples of Primary key,
composite primary key, foreign key.
• Relational Data base management system (RDBMS)
software.
Data and Information
Database
Database Management System
Database Management System
Database Management System
Database Management System
Database Servers
Advantages of Database
Advantages of Database
1.
Advantages of Database

2.
Advantages of Database

3.
Advantages of Database

4.
Advantages of Database

5.
Advantages of Database

6.
Advantages of Database
7.
Features of Database
RDBMS
Basic Terminologies
Primary Key
A primary key is the column or columns that contain values
that uniquely identify each row in a table. A database table
must have a primary key to insert, update, restore, or delete
data from a database table. .
Composite Primary Key
A composite key is a combination of two or more columns in a table that
can be used to uniquely identify each row in the table when the columns
are combined uniqueness is guaranteed, but when it taken individually
it does not guarantee uniqueness.

Sometimes more than one attributes are needed to uniquely identify an


entity. A primary key that is made by the combination of more than one
attribute is known as a composite key.

Composite key is a key which is the combination of more than one field
or column of a given table. It may be a candidate key or primary key.
Composite Primary Key
Foreign Key
•A foreign key is used to represent the relationship between
two tables.
• A non-key attribute, whose values are derived from the
primary key of some other table is known as foreign key in
current table.
SESSION- 2
Create and edit tables using wizard
and SQL commands
SESSION 2
Create and edit tables using wizard
and SQL commands
• Introduction to a RDBMS.
• Database objects – tables, queries, forms, and reports
of the database.
• Terms in database – table , field, record.
• Steps to create a table using table wizard, Data types in
Base
• Option to set primary key Table Data View dialog box
• DDL Commands
RDBMS
Database Objects
Data Types
Data Types
Data Types
Data Types
Data Types
Data Types
Data Types
Data Types
Data Types
Data Types
Creating DataBase using
OpenOffice
Creating a Table
Type of SQL Statements
SESSION - 3
Perform operations on table
SESSION - 3
Perform operations on table

• Inserting data in the table.


• Editing records in the table.
• Deleting records from the table.
• Sorting data in the table, Referential integrity.
• Creating and editing relationships – one to
one, one to many, many to many.
• Field properties.
Field Properties
Right Click on Table 
Edit  Table Open(Design View)
Referential Integrity
Referential Integrity
Creating and Editing
Relationships between Tables
Type of Relationships
between Tables
Type of Relationships
between Tables
1. One to One
Type of Relationships between
Tables
2. One to many
Type of Relationships between Tables
3. many to many
Creating and Editing
Relationships between Tables
•You can create a relationship between any
two tables by selecting Relationships
option from Tools Menu.
•Add the tables in amongst which you
want to create the relationship. Select the
tables and click on Add button.

You might also like