Chapter 1database Management System (DBMS) Part-5
Chapter 1database Management System (DBMS) Part-5
1
8/30/2022
A database is a set of logically related data A program or set of programs that help to
files that are organized for access by one or manage a database is called database
more applications. management system (DBMS).
Database minimizes data redundancy. Used to create, edit and maintain database
files and records.
Collection of records in logically related
Handles storage, reporting , multi access
format control, and security.
Access to data is easy. Typically has graphical interface so that users
Consist of components such as data items, are able to manage data easily
relationships, constraints and schema. Eg: MySQL, Microsoft Access, Microsoft SQL
Server, Oracle Database, dbase etc.
2
8/30/2022
Example of table, field and row Primary Key:- This key helps to identify the
Name Age DOB Address record or the row.
Shyam 18 2005/6/15 Gwarko Foreign Key:- In a relational database, one
Ram 17 2004/7/14 Balkumari data from a table relates to another data in
another table
Objects: Anything created by using CREATE Alternate Key:- Like primary key, it is
command additional key that is unique in the table.
Eg: Table, View, Sequence, Index, Synonym. Eg: Candidate Key:- With combination of Primary
CREATE VIEW someView .... Key, candidate key makes set with the
Later someView can be referenced using the primary key and/or other keys to uniquely
word someView. identify the records.