SlideShare a Scribd company logo
1 of 11
Database Concepts
Presented By
Samar
Class-9th
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 CONCEPTS
Database Management System(DBMS)
 A DBMS 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.
DATABASE CONCEPTS
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.
DATABASE CONCEPTS
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.
DATABASE CONCEPTS
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.
DATABASE CONCEPTS
RELATIONAL DATABASE TERMS
DATABASE CONCEPTS
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.
DATABASE CONCEPTS
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.
DATABASE CONCEPTS
KEYS IN A DATABASE
DATABASE CONCEPTS

More Related Content

Similar to DBMS.pptx

Database Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdfDatabase Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdf
rsujeet169
 

Similar to DBMS.pptx (20)

Database concepts
Database conceptsDatabase concepts
Database concepts
 
Database Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdfDatabase Concepts & SQL(1).pdf
Database Concepts & SQL(1).pdf
 
Data models
Data modelsData models
Data models
 
Data models
Data modelsData models
Data models
 
2. Chapter Two.pdf
2. Chapter Two.pdf2. Chapter Two.pdf
2. Chapter Two.pdf
 
unit 1.pptx
unit 1.pptxunit 1.pptx
unit 1.pptx
 
Database Concepts.pptx
Database Concepts.pptxDatabase Concepts.pptx
Database Concepts.pptx
 
unit 1.pptx
unit 1.pptxunit 1.pptx
unit 1.pptx
 
Dbms relational model
Dbms relational modelDbms relational model
Dbms relational model
 
Relational Database Management System part II
Relational Database Management System part IIRelational Database Management System part II
Relational Database Management System part II
 
Architecture of dbms
Architecture of dbmsArchitecture of dbms
Architecture of dbms
 
Database Concepts
Database ConceptsDatabase Concepts
Database Concepts
 
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptxDATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
DATABASE MANAGEMENT SYSTEM-MRS. LAXMI B PANDYA FOR 25TH AUGUST,2022.pptx
 
RDBMS
RDBMSRDBMS
RDBMS
 
DATA BASE MODEL Rohini
DATA BASE MODEL RohiniDATA BASE MODEL Rohini
DATA BASE MODEL Rohini
 
DATABASE CONCEPTS AND PRACTICAL EXAMPLES
DATABASE CONCEPTS AND PRACTICAL EXAMPLESDATABASE CONCEPTS AND PRACTICAL EXAMPLES
DATABASE CONCEPTS AND PRACTICAL EXAMPLES
 
Data resource management
Data resource managementData resource management
Data resource management
 
Ch-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdfCh-1-Introduction-to-Database.pdf
Ch-1-Introduction-to-Database.pdf
 
Week 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental ConceptsWeek 1 Before the Advent of Database Systems & Fundamental Concepts
Week 1 Before the Advent of Database Systems & Fundamental Concepts
 
Codds rules & keys
Codds rules & keysCodds rules & keys
Codds rules & keys
 

Recently uploaded

原版定制美国加州大学河滨分校毕业证原件一模一样
原版定制美国加州大学河滨分校毕业证原件一模一样原版定制美国加州大学河滨分校毕业证原件一模一样
原版定制美国加州大学河滨分校毕业证原件一模一样
A
 
一比一原版美国北卡罗莱纳大学毕业证如何办理
一比一原版美国北卡罗莱纳大学毕业证如何办理一比一原版美国北卡罗莱纳大学毕业证如何办理
一比一原版美国北卡罗莱纳大学毕业证如何办理
A
 
一比一原版(Wintec毕业证书)新西兰怀卡托理工学院毕业证原件一模一样
一比一原版(Wintec毕业证书)新西兰怀卡托理工学院毕业证原件一模一样一比一原版(Wintec毕业证书)新西兰怀卡托理工学院毕业证原件一模一样
一比一原版(Wintec毕业证书)新西兰怀卡托理工学院毕业证原件一模一样
AS
 
原版定制(Glasgow毕业证书)英国格拉斯哥大学毕业证原件一模一样
原版定制(Glasgow毕业证书)英国格拉斯哥大学毕业证原件一模一样原版定制(Glasgow毕业证书)英国格拉斯哥大学毕业证原件一模一样
原版定制(Glasgow毕业证书)英国格拉斯哥大学毕业证原件一模一样
AS
 
一比一定制加州大学欧文分校毕业证学位证书
一比一定制加州大学欧文分校毕业证学位证书一比一定制加州大学欧文分校毕业证学位证书
一比一定制加州大学欧文分校毕业证学位证书
A
 
一比一定制美国罗格斯大学毕业证学位证书
一比一定制美国罗格斯大学毕业证学位证书一比一定制美国罗格斯大学毕业证学位证书
一比一定制美国罗格斯大学毕业证学位证书
A
 
一比一原版英国创意艺术大学毕业证如何办理
一比一原版英国创意艺术大学毕业证如何办理一比一原版英国创意艺术大学毕业证如何办理
一比一原版英国创意艺术大学毕业证如何办理
AS
 
一比一原版(NYU毕业证书)美国纽约大学毕业证学位证书
一比一原版(NYU毕业证书)美国纽约大学毕业证学位证书一比一原版(NYU毕业证书)美国纽约大学毕业证学位证书
一比一原版(NYU毕业证书)美国纽约大学毕业证学位证书
c6eb683559b3
 
一比一原版澳大利亚迪肯大学毕业证如何办理
一比一原版澳大利亚迪肯大学毕业证如何办理一比一原版澳大利亚迪肯大学毕业证如何办理
一比一原版澳大利亚迪肯大学毕业证如何办理
SS
 
一比一原版布兰迪斯大学毕业证如何办理
一比一原版布兰迪斯大学毕业证如何办理一比一原版布兰迪斯大学毕业证如何办理
一比一原版布兰迪斯大学毕业证如何办理
A
 

Recently uploaded (20)

原版定制美国加州大学河滨分校毕业证原件一模一样
原版定制美国加州大学河滨分校毕业证原件一模一样原版定制美国加州大学河滨分校毕业证原件一模一样
原版定制美国加州大学河滨分校毕业证原件一模一样
 
一比一原版美国北卡罗莱纳大学毕业证如何办理
一比一原版美国北卡罗莱纳大学毕业证如何办理一比一原版美国北卡罗莱纳大学毕业证如何办理
一比一原版美国北卡罗莱纳大学毕业证如何办理
 
一比一原版(Wintec毕业证书)新西兰怀卡托理工学院毕业证原件一模一样
一比一原版(Wintec毕业证书)新西兰怀卡托理工学院毕业证原件一模一样一比一原版(Wintec毕业证书)新西兰怀卡托理工学院毕业证原件一模一样
一比一原版(Wintec毕业证书)新西兰怀卡托理工学院毕业证原件一模一样
 
Dan Quinn Commanders Feather Dad Hat Hoodie
Dan Quinn Commanders Feather Dad Hat HoodieDan Quinn Commanders Feather Dad Hat Hoodie
Dan Quinn Commanders Feather Dad Hat Hoodie
 
原版定制(Glasgow毕业证书)英国格拉斯哥大学毕业证原件一模一样
原版定制(Glasgow毕业证书)英国格拉斯哥大学毕业证原件一模一样原版定制(Glasgow毕业证书)英国格拉斯哥大学毕业证原件一模一样
原版定制(Glasgow毕业证书)英国格拉斯哥大学毕业证原件一模一样
 
I’ll See Y’All Motherfuckers In Game 7 Shirt
I’ll See Y’All Motherfuckers In Game 7 ShirtI’ll See Y’All Motherfuckers In Game 7 Shirt
I’ll See Y’All Motherfuckers In Game 7 Shirt
 
一比一定制加州大学欧文分校毕业证学位证书
一比一定制加州大学欧文分校毕业证学位证书一比一定制加州大学欧文分校毕业证学位证书
一比一定制加州大学欧文分校毕业证学位证书
 
Free on Wednesdays T Shirts Free on Wednesdays Sweatshirts
Free on Wednesdays T Shirts Free on Wednesdays SweatshirtsFree on Wednesdays T Shirts Free on Wednesdays Sweatshirts
Free on Wednesdays T Shirts Free on Wednesdays Sweatshirts
 
APNIC Policy Roundup presented by Sunny Chendi at TWNOG 5.0
APNIC Policy Roundup presented by Sunny Chendi at TWNOG 5.0APNIC Policy Roundup presented by Sunny Chendi at TWNOG 5.0
APNIC Policy Roundup presented by Sunny Chendi at TWNOG 5.0
 
一比一定制美国罗格斯大学毕业证学位证书
一比一定制美国罗格斯大学毕业证学位证书一比一定制美国罗格斯大学毕业证学位证书
一比一定制美国罗格斯大学毕业证学位证书
 
Beyond Inbound: Unlocking the Secrets of API Egress Traffic Management
Beyond Inbound: Unlocking the Secrets of API Egress Traffic ManagementBeyond Inbound: Unlocking the Secrets of API Egress Traffic Management
Beyond Inbound: Unlocking the Secrets of API Egress Traffic Management
 
Free scottie t shirts Free scottie t shirts
Free scottie t shirts Free scottie t shirtsFree scottie t shirts Free scottie t shirts
Free scottie t shirts Free scottie t shirts
 
一比一原版英国创意艺术大学毕业证如何办理
一比一原版英国创意艺术大学毕业证如何办理一比一原版英国创意艺术大学毕业证如何办理
一比一原版英国创意艺术大学毕业证如何办理
 
一比一原版(NYU毕业证书)美国纽约大学毕业证学位证书
一比一原版(NYU毕业证书)美国纽约大学毕业证学位证书一比一原版(NYU毕业证书)美国纽约大学毕业证学位证书
一比一原版(NYU毕业证书)美国纽约大学毕业证学位证书
 
HUMANIZE YOUR BRAND - FREE E-WORKBOOK Download Now
HUMANIZE YOUR BRAND - FREE E-WORKBOOK Download NowHUMANIZE YOUR BRAND - FREE E-WORKBOOK Download Now
HUMANIZE YOUR BRAND - FREE E-WORKBOOK Download Now
 
一比一原版澳大利亚迪肯大学毕业证如何办理
一比一原版澳大利亚迪肯大学毕业证如何办理一比一原版澳大利亚迪肯大学毕业证如何办理
一比一原版澳大利亚迪肯大学毕业证如何办理
 
Subdomain enumeration is a crucial phase in cybersecurity, particularly durin...
Subdomain enumeration is a crucial phase in cybersecurity, particularly durin...Subdomain enumeration is a crucial phase in cybersecurity, particularly durin...
Subdomain enumeration is a crucial phase in cybersecurity, particularly durin...
 
一比一原版布兰迪斯大学毕业证如何办理
一比一原版布兰迪斯大学毕业证如何办理一比一原版布兰迪斯大学毕业证如何办理
一比一原版布兰迪斯大学毕业证如何办理
 
Washington Football Commanders Redskins Feathers Shirt
Washington Football Commanders Redskins Feathers ShirtWashington Football Commanders Redskins Feathers Shirt
Washington Football Commanders Redskins Feathers Shirt
 
APNIC Updates presented by Paul Wilson at CaribNOG 27
APNIC Updates presented by Paul Wilson at  CaribNOG 27APNIC Updates presented by Paul Wilson at  CaribNOG 27
APNIC Updates presented by Paul Wilson at CaribNOG 27
 

DBMS.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. DATABASE CONCEPTS
  • 4. Database Management System(DBMS)  A DBMS 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. DATABASE CONCEPTS
  • 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. DATABASE CONCEPTS
  • 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. DATABASE CONCEPTS
  • 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. DATABASE CONCEPTS
  • 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. DATABASE CONCEPTS
  • 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. DATABASE CONCEPTS
  • 11. KEYS IN A DATABASE DATABASE CONCEPTS