Notes of Database
Notes of Database
Many website on the world wide web widely use database system
to store and manage data (commonly referred as backend).
Advantages of Database
Minimize Data Redundancy: In traditional File processing system
same piece of data may be held in multiple places resulting in
Data redundancy (duplicacy). Database system minimizes
redundancy by data normalization.
Data Model:
A data model is the way data is organised in a database. There
are different types data models controls the representation of
data in a database, these are:
The Relational data Model is far being used by most of the popular
Database Management Systems. In his course we limit our
discussion on Relational data model.
Relational Database:
A relational database is collection of multiple data sets organised
as tables. A relational database facilitates users to organize data
in a well defined relationship between database tables/relations.
It uses Structured Query Language(SQL) to communicate with the
database and efficiently maintain data in the database.
Types of Keys:
Candidate Key: A Candidate key is a attribute/set of attributes
that uniquely identifies tuples in a relation. A relation may be
more then one candidate key.