SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
Database Concepts
Computer Science
DATABASE CONCEPTS
A Database is a collection of DATA/INFORMATION that is organized so that it
can be easily accessed, managed and updated.
In Database, Data is organized into rows, columns and tables, and it is
indexed to make it easier to find relevant information. It works like a
container which contains the various object like Tables, Queries, Reports
etc. in organized way.
WHY DO WE NEED DATABASE
To manage large chunks of data: if size of data increases into thousands of
records, it will simply create a problem to manage.Database can manage large
amount of data.
Accuracy: Through validation rule in database ,data accuracy can be
maintained.
Ease of updating data: With the database, we can flexibly update the data
according to our convenience. Moreover, multiple people can also edit data at
same time.
Security of data: With databases we have security groups and privileges to
restrict access.
Data integrity: In databases, we can be assured of accuracy and consistency of
data due to the built in integrity checks and access controls.
Database Management System(DBMS)
ADBMS refers to a software that is responsible for storing,
maintaining and utilizing database in an efficient way.
A Database along with DBMS software is called Database
System.
Example of DBMS software are Oracle, MS SQL Server, MS
Access, Paradox, DB2 and MySQL etc.
MySQL is open source and freeware DBMS.
• Advantages of Database System
 Databases reduces Redundancy
• It removes duplication of data because data are kept at one place and all the application
refers to the centrally maintained database.
 Database controls Inconsistency
• When two copies of the same data do not agree to each other, then it is called Inconsistency.
By controlling redundancy, the inconsistency is also controlled.
 Database facilitate Sharing of Data
• Data stored in the database can be shared among several users.
 Database ensures Security
• Data are protected against accidental or intentional disclosure to unauthorized person or
unauthorized modification.
 Database maintains Integrity
• It enforces certain integrity rules to insure the validity or correctness of data. For ex. A date
can’t be like 31/31/2000.
Data Model- Way of data representation
Data model is a model or presentation which shows How data is organized ? or stored
in the database. A data is modeled by one of the following given-
 Relational Data Model
In this model data is organized into Relations or Tables (i.e. Rows and Columns). A row in
a table represents a relationship of data to each other and also called a Tuple or Record.
A column is called Attribute or Field.
 Network Data Model
In this model, data is represented by collection of records and relationship among data
is shown by Links.
 Hierarchical Data Model
In this model, Records are organized as Trees. Records at top level is called Root record
and this may contains multiple directly linked children records.
 Object Oriented Data Model
In this model, records are represented as a objects. The collection of similar types of
object is called class.
RELATIONAL DATABASE
A relational database is a collective set of multiple data sets organized by tables,
records and columns. Relational database establish a well-defined relationship
between database tables. Tables communicate and share information, which
facilitates data searcheability, organization and reporting.
A Relational database use Structured Query Language (SQL), which is a standard user
application that provides an easy programming interface for database interaction.
RELATIONAL DATABASE TERMS
RELATIONAL DATABASE TERMS
Relation (Table)
A Relation or Table is Matrix like structure arranged in Rows and Columns. It has the
following properties-
 Atomicity : Each column assigned a unique name and must have atomic(indivisible)
value i.e. a value that can not be further subdivided.
 No duplicity: No two rows of relation will be identical i.e. in any two rows value in at least
one column must be different.
All items in a column are homogeneous i.e.same data type.
 Ordering of rows and column is immaterial.
Domain :It is collection of values from which the value is derived for a column.
Tuple / Entity / Record - Rows of a table is called Tuple or Record.
Attribute/ Field- Column of a table is called Attribute or Field.
Degree - Number of columns (attributes) in a table.
Cardinality - Number of rows (Records) in a table.
KEYS IN A DATABASE
Key plays an important role in relational database; it is used for identifying unique rows
from table & establishes relationship among tables on need.
Types of keys in DBMS
 Primary Key – A primary is a column or set of columns in a table that uniquely
identifies tuples (rows) in that table.
 Candidate Key –It is an attribute or a set of attributes or keys participating for
Primary Key, to uniquely identify each record in that table.
 Alternate Key – Out of all candidate keys, only one gets selected as primary key,
remaining keys are known as alternate or secondary keys.
 Foreign Key – Foreign keys are the columns of a table that points to the primary key
of another table. They act as a cross-reference between tables.
KEYS IN A DATABASE

More Related Content

PPTX
Database management system
Shashikumar_chari
 
PDF
Introduction to Database
Syed Zaid Irshad
 
PPTX
Distributed dbms architectures
Pooja Dixit
 
PPTX
Introduction to Object Oriented databases
Dr. C.V. Suresh Babu
 
PPT
11 Database Concepts
Praveen M Jigajinni
 
PPTX
Introduction to database
Arpee Callejo
 
PPTX
RDBMS
PriyangaRajaram
 
PPT
Distributed databases,types of database
Boomadevi Shanmugam
 
Database management system
Shashikumar_chari
 
Introduction to Database
Syed Zaid Irshad
 
Distributed dbms architectures
Pooja Dixit
 
Introduction to Object Oriented databases
Dr. C.V. Suresh Babu
 
11 Database Concepts
Praveen M Jigajinni
 
Introduction to database
Arpee Callejo
 
Distributed databases,types of database
Boomadevi Shanmugam
 

What's hot (20)

PPTX
DBMS - Database Management System
Krishna Patel
 
PDF
Users of dbms
Preet Hanspal
 
PPTX
Relational Database Design
Archit Saxena
 
PPTX
Key and its different types
Umair Shakir
 
PPTX
Database Design
learnt
 
PPTX
Database Management System
Nishant Munjal
 
PPTX
Introduction to Relational Databases
Research Support Team, IT Services, University of Oxford
 
PPTX
Entity Relationship Modelling
Bhandari Nawaraj
 
PPTX
Database
Bhandari Nawaraj
 
PPTX
Relational Data Model Introduction
Nishant Munjal
 
PPT
The relational database model
Dhani Ahmad
 
PPTX
Types of Database Models
Murassa Gillani
 
PPTX
Introduction to database
Pradnya Saval
 
PPT
Database
Dhani Ahmad
 
PPT
Database systems introduction
Balasingham Karthiban
 
PDF
Database Lecture Notes
FellowBuddy.com
 
PPTX
Semantic web
Abid Fakhre Alam
 
PPTX
Distributed DBMS - Unit 3 - Distributed DBMS Architecture
Gyanmanjari Institute Of Technology
 
PPTX
Relational database
Megha Sharma
 
PPTX
Advanced DBMS presentation
Hindustan Petroleum
 
DBMS - Database Management System
Krishna Patel
 
Users of dbms
Preet Hanspal
 
Relational Database Design
Archit Saxena
 
Key and its different types
Umair Shakir
 
Database Design
learnt
 
Database Management System
Nishant Munjal
 
Introduction to Relational Databases
Research Support Team, IT Services, University of Oxford
 
Entity Relationship Modelling
Bhandari Nawaraj
 
Relational Data Model Introduction
Nishant Munjal
 
The relational database model
Dhani Ahmad
 
Types of Database Models
Murassa Gillani
 
Introduction to database
Pradnya Saval
 
Database
Dhani Ahmad
 
Database systems introduction
Balasingham Karthiban
 
Database Lecture Notes
FellowBuddy.com
 
Semantic web
Abid Fakhre Alam
 
Distributed DBMS - Unit 3 - Distributed DBMS Architecture
Gyanmanjari Institute Of Technology
 
Relational database
Megha Sharma
 
Advanced DBMS presentation
Hindustan Petroleum
 
Ad

Similar to database concepts.pptx (20)

PPTX
9 rdbms of digital documentaion of class ix
BiswambarBehera5
 
PDF
Database_Concepts_Final.pptx.pdf for class 12
pramodcoder1319
 
PDF
rdbms8.pdf
HiteshNandi
 
PPTX
Database.pptx
AftabSaeed5
 
PPTX
PPT_DBMS.pptx
traderbear1
 
PPTX
DATABASE-1.pptx
ManasRanjanRana4
 
PPTX
Accounting Information System Related Data.pptx
MaDesireeFavores1
 
PPTX
IP-Lesson_Planning(Unit4 - Database concepts and SQL).pptx
ssuser61d324
 
PPT
Database concepts
FLYMAN TECHNOLOGY LIMITED
 
PDF
Database Concepts & SQL(1).pdf
rsujeet169
 
PPTX
Theory of Relational Database.pptx 0.84 Mb
asiimov
 
PPTX
Organisation of database vs Organisation of database
praygodmwanga32
 
PPT
Introduction to Database Management Systems
BackiyalakshmiVenkat
 
PDF
Overview_of_Database.nnjjbvjjhgkpptx-1.pdf
uzboy1337
 
PPT
Dbms Lec Uog 02
smelltulip
 
PDF
Database Assignment Help.pdf
sammartina
 
PPTX
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
Laxmi Pandya
 
DOCX
COMPUTERS Database
Rc Os
 
9 rdbms of digital documentaion of class ix
BiswambarBehera5
 
Database_Concepts_Final.pptx.pdf for class 12
pramodcoder1319
 
rdbms8.pdf
HiteshNandi
 
Database.pptx
AftabSaeed5
 
PPT_DBMS.pptx
traderbear1
 
DATABASE-1.pptx
ManasRanjanRana4
 
Accounting Information System Related Data.pptx
MaDesireeFavores1
 
IP-Lesson_Planning(Unit4 - Database concepts and SQL).pptx
ssuser61d324
 
Database concepts
FLYMAN TECHNOLOGY LIMITED
 
Database Concepts & SQL(1).pdf
rsujeet169
 
Theory of Relational Database.pptx 0.84 Mb
asiimov
 
Organisation of database vs Organisation of database
praygodmwanga32
 
Introduction to Database Management Systems
BackiyalakshmiVenkat
 
Overview_of_Database.nnjjbvjjhgkpptx-1.pdf
uzboy1337
 
Dbms Lec Uog 02
smelltulip
 
Database Assignment Help.pdf
sammartina
 
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
Laxmi Pandya
 
COMPUTERS Database
Rc Os
 
Ad

Recently uploaded (20)

PPT
From Vision to Reality: The Digital India Revolution
Harsh Bharvadiya
 
PPTX
MR and reffffffvvvvvvvfversal_083605.pptx
manjeshjain
 
PDF
717629748-Databricks-Certified-Data-Engineer-Professional-Dumps-by-Ball-21-03...
pedelli41
 
PDF
Key_Statistical_Techniques_in_Analytics_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
Blue Futuristic Cyber Security Presentation.pdf
tanvikhunt1003
 
PDF
TIC ACTIVIDAD 1geeeeeeeeeeeeeeeeeeeeeeeeeeeeeer3.pdf
Thais Ruiz
 
PPTX
Introduction to computer chapter one 2017.pptx
mensunmarley
 
PPTX
Fuzzy_Membership_Functions_Presentation.pptx
pythoncrazy2024
 
PPTX
Probability systematic sampling methods.pptx
PrakashRajput19
 
PPTX
lecture 13 mind test academy it skills.pptx
ggesjmrasoolpark
 
PDF
WISE main accomplishments for ISQOLS award July 2025.pdf
StatsCommunications
 
PDF
The_Future_of_Data_Analytics_by_CA_Suvidha_Chaplot_UPDATED.pdf
CA Suvidha Chaplot
 
PPTX
Web dev -ppt that helps us understand web technology
shubhragoyal12
 
PPTX
Presentation on animal welfare a good topic
kidscream385
 
PDF
Fundamentals and Techniques of Biophysics and Molecular Biology (Pranav Kumar...
RohitKumar868624
 
PDF
Technical Writing Module-I Complete Notes.pdf
VedprakashArya13
 
PDF
SUMMER INTERNSHIP REPORT[1] (AutoRecovered) (6) (1).pdf
pandeydiksha814
 
PDF
Classifcation using Machine Learning and deep learning
bhaveshagrawal35
 
PPTX
IP_Journal_Articles_2025IP_Journal_Articles_2025
mishell212144
 
PPTX
Blue and Dark Blue Modern Technology Presentation.pptx
ap177979
 
From Vision to Reality: The Digital India Revolution
Harsh Bharvadiya
 
MR and reffffffvvvvvvvfversal_083605.pptx
manjeshjain
 
717629748-Databricks-Certified-Data-Engineer-Professional-Dumps-by-Ball-21-03...
pedelli41
 
Key_Statistical_Techniques_in_Analytics_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Blue Futuristic Cyber Security Presentation.pdf
tanvikhunt1003
 
TIC ACTIVIDAD 1geeeeeeeeeeeeeeeeeeeeeeeeeeeeeer3.pdf
Thais Ruiz
 
Introduction to computer chapter one 2017.pptx
mensunmarley
 
Fuzzy_Membership_Functions_Presentation.pptx
pythoncrazy2024
 
Probability systematic sampling methods.pptx
PrakashRajput19
 
lecture 13 mind test academy it skills.pptx
ggesjmrasoolpark
 
WISE main accomplishments for ISQOLS award July 2025.pdf
StatsCommunications
 
The_Future_of_Data_Analytics_by_CA_Suvidha_Chaplot_UPDATED.pdf
CA Suvidha Chaplot
 
Web dev -ppt that helps us understand web technology
shubhragoyal12
 
Presentation on animal welfare a good topic
kidscream385
 
Fundamentals and Techniques of Biophysics and Molecular Biology (Pranav Kumar...
RohitKumar868624
 
Technical Writing Module-I Complete Notes.pdf
VedprakashArya13
 
SUMMER INTERNSHIP REPORT[1] (AutoRecovered) (6) (1).pdf
pandeydiksha814
 
Classifcation using Machine Learning and deep learning
bhaveshagrawal35
 
IP_Journal_Articles_2025IP_Journal_Articles_2025
mishell212144
 
Blue and Dark Blue Modern Technology Presentation.pptx
ap177979
 

database concepts.pptx

  • 2. DATABASE CONCEPTS A Database is a collection of DATA/INFORMATION that is organized so that it can be easily accessed, managed and updated. In Database, Data is organized into rows, columns and tables, and it is indexed to make it easier to find relevant information. It works like a container which contains the various object like Tables, Queries, Reports etc. in organized way.
  • 3. WHY DO WE NEED DATABASE To manage large chunks of data: if size of data increases into thousands of records, it will simply create a problem to manage.Database can manage large amount of data. Accuracy: Through validation rule in database ,data accuracy can be maintained. Ease of updating data: With the database, we can flexibly update the data according to our convenience. Moreover, multiple people can also edit data at same time. Security of data: With databases we have security groups and privileges to restrict access. Data integrity: In databases, we can be assured of accuracy and consistency of data due to the built in integrity checks and access controls.
  • 4. Database Management System(DBMS) ADBMS refers to a software that is responsible for storing, maintaining and utilizing database in an efficient way. A Database along with DBMS software is called Database System. Example of DBMS software are Oracle, MS SQL Server, MS Access, Paradox, DB2 and MySQL etc. MySQL is open source and freeware DBMS.
  • 5. • Advantages of Database System  Databases reduces Redundancy • It removes duplication of data because data are kept at one place and all the application refers to the centrally maintained database.  Database controls Inconsistency • When two copies of the same data do not agree to each other, then it is called Inconsistency. By controlling redundancy, the inconsistency is also controlled.  Database facilitate Sharing of Data • Data stored in the database can be shared among several users.  Database ensures Security • Data are protected against accidental or intentional disclosure to unauthorized person or unauthorized modification.  Database maintains Integrity • It enforces certain integrity rules to insure the validity or correctness of data. For ex. A date can’t be like 31/31/2000.
  • 6. Data Model- Way of data representation Data model is a model or presentation which shows How data is organized ? or stored in the database. A data is modeled by one of the following given-  Relational Data Model In this model data is organized into Relations or Tables (i.e. Rows and Columns). A row in a table represents a relationship of data to each other and also called a Tuple or Record. A column is called Attribute or Field.  Network Data Model In this model, data is represented by collection of records and relationship among data is shown by Links.  Hierarchical Data Model In this model, Records are organized as Trees. Records at top level is called Root record and this may contains multiple directly linked children records.  Object Oriented Data Model In this model, records are represented as a objects. The collection of similar types of object is called class.
  • 7. RELATIONAL DATABASE A relational database is a collective set of multiple data sets organized by tables, records and columns. Relational database establish a well-defined relationship between database tables. Tables communicate and share information, which facilitates data searcheability, organization and reporting. A Relational database use Structured Query Language (SQL), which is a standard user application that provides an easy programming interface for database interaction.
  • 9. RELATIONAL DATABASE TERMS Relation (Table) A Relation or Table is Matrix like structure arranged in Rows and Columns. It has the following properties-  Atomicity : Each column assigned a unique name and must have atomic(indivisible) value i.e. a value that can not be further subdivided.  No duplicity: No two rows of relation will be identical i.e. in any two rows value in at least one column must be different. All items in a column are homogeneous i.e.same data type.  Ordering of rows and column is immaterial. Domain :It is collection of values from which the value is derived for a column. Tuple / Entity / Record - Rows of a table is called Tuple or Record. Attribute/ Field- Column of a table is called Attribute or Field. Degree - Number of columns (attributes) in a table. Cardinality - Number of rows (Records) in a table.
  • 10. KEYS IN A DATABASE Key plays an important role in relational database; it is used for identifying unique rows from table & establishes relationship among tables on need. Types of keys in DBMS  Primary Key – A primary is a column or set of columns in a table that uniquely identifies tuples (rows) in that table.  Candidate Key –It is an attribute or a set of attributes or keys participating for Primary Key, to uniquely identify each record in that table.  Alternate Key – Out of all candidate keys, only one gets selected as primary key, remaining keys are known as alternate or secondary keys.  Foreign Key – Foreign keys are the columns of a table that points to the primary key of another table. They act as a cross-reference between tables.
  • 11. KEYS IN A DATABASE