SlideShare a Scribd company logo
RDBMS
(Relational Database Management System)
BY
Danish Shafi Mir
UID:22MBI20005,
Overview
What is DBMS
RDBMS
Relational Algebra
Structured Query Language
Difference between DBMS and RDBMS
Advantage of RDBMS
What is DBMS?
DBMS (Database Management System) is a system that is used to store
and manage data.
A DBMS is a set of programs that is used to store and manipulation data.
Manipulation of data includes the following:
 Adding new data
 Deleting unwanted data
 Changing existing data
For example adding details of new student, deleting the details of
student who have completed course and modifying the fee paid by the student.
It provides various functions like:
 Data security
 Data integrity
 Data sharing
 Data concurrence
 Data independence
 Data recovery
RDBMS(Relational Database Management System)
 RDBMS stands for Relational Database Management System. RDBMS data
is structured in database tables, fields and records.
 Each RDBMS table consists of database table rows.
 Each database table row consists of one or more database table fields.
 RDBMS store the data into collection of tables, which might be related by
common fields (database table columns).
 RDBMS also provide relational operators tomanipulate the data stored
into the database tables.
 Most RDBMS use SQL as database query language.
 The relation is the only data structure used in the relational data model
to represent both entities and relationships between them.
 Rows of the relation are referred to as tuples of the relation and
columns are its attributes.
 Each attribute of the column are drawn from the set of values known
as domain. The domain of an attribute contains the set of values that
the attribute may assume.
Tuple /Row
A single row in the table is called as tuple. Each row represents the data
of a single entity.
Attribute/Column
A column stores an attribute of the entity. For example, if details of
students are stored then student name is an attribute; course is another attribute
and so on.
Column Name
Each column in the table is given a name. This name is used to refer to
value in the column.
Table Name
Each table is given a name. This is used torefer tothe table. The name
depicts the content of the table. The following are two other terms, primary key
and foreign key, that are very important in relational model.
Relational Algebra
A set of operators used toperform operations on tables is called as
relational algebra. Operators in relational algebra take one or more tables as
parameters and produce one table as the result.
The following are operators in relational algebra:
 Union
 Intersect
 Difference or minus
 Project
 Select
 Join
Union
This takes two tables and returns all rows that are belonging to
either first or second table (or both).
Intersect
This takes two tables and returns all rows that are belonging to
first and second table.
Difference or Minus
This takes two tables and returns all rows that exist in the first
table and not in the second table.
Project
Takes a single table and returns the vertical subset of the table.
Select
Takes a single table and returns a horizontal subset of the table.
That means it returns only those rows that satisfy the condition.
Join
Rows of two table are combined based on the given column(s)
values. The tables being joined must have a common column.
SQL(Structured Query Language)
Almost all relational database management systems use
SQL(Structured Query Language) for data manipulation and retrieval.
SQL is the standard language for relational database systems.
SQL is a non-procedural language, where you need to concentrate
on what you want, not on how you get it.
Put it in other way, you need not be concerned with procedural
details.
SQL Commands are divided into four categories, depending upon what
they do.
 DDL (Data Definition Language)
commands are used to define the data. For example, CREATE TABLE.
 DML (Data Manipulation Language)
commands such as, INSERT and DELETE are used to manipulate data.
 DCL (Data Control Language)
commands are used to control access to data. For example, GRANT.
 Query (Retrieving data)
It is used to retrieve data using SELECT. DML and Query are also
collectively called as DML. And DDL and DCL are called as DDL.
Advantages of RDBMS
A "relational database" is a database structured on the "relational" model.
Data are stored and presented in a tabular format, organized in rows and
columns with one record per row.
 Data Structure
 Multi-User Access
 Privileges
 Network Access
 Speed
 Maintenance
 Language
RDBMS BY DANISH SHAFI MIR.pptx

More Related Content

Similar to RDBMS BY DANISH SHAFI MIR.pptx

DATABASE CONCEPTS AND PRACTICAL EXAMPLES
DATABASE CONCEPTS AND PRACTICAL EXAMPLESDATABASE CONCEPTS AND PRACTICAL EXAMPLES
DATABASE CONCEPTS AND PRACTICAL EXAMPLES
NathRam2
 
DATABASE MANAGMENT SYSTEM (DBMS) AND SQL
DATABASE MANAGMENT SYSTEM (DBMS) AND SQLDATABASE MANAGMENT SYSTEM (DBMS) AND SQL
DATABASE MANAGMENT SYSTEM (DBMS) AND SQL
Dev Chauhan
 
My lablkxjlkxjcvlxkcjvlxckjvlxck ppt.pptx
My lablkxjlkxjcvlxkcjvlxckjvlxck ppt.pptxMy lablkxjlkxjcvlxkcjvlxckjvlxck ppt.pptx
My lablkxjlkxjcvlxkcjvlxckjvlxck ppt.pptx
EliasPetros
 
COMPUTERS Database
COMPUTERS Database COMPUTERS Database
COMPUTERS Database
Rc Os
 
DBMS and SQL(structured query language) .pptx
DBMS and SQL(structured query language) .pptxDBMS and SQL(structured query language) .pptx
DBMS and SQL(structured query language) .pptx
jainendraKUMAR55
 
Fg d
Fg dFg d
Fg d
Taha Khan
 
Introduction of DBMS
Introduction of DBMSIntroduction of DBMS
Introduction of DBMS
YouQue ™
 
Relational Database Management System part II
Relational Database Management System part IIRelational Database Management System part II
Relational Database Management System part II
KavithaA19
 
RDBMS
RDBMSRDBMS
Database COMPLETE
Database COMPLETEDatabase COMPLETE
Database COMPLETE
Abrar ali
 
SKILLWISE-DB2 DBA
SKILLWISE-DB2 DBASKILLWISE-DB2 DBA
SKILLWISE-DB2 DBA
Skillwise Group
 
Lecture on DBMS & MySQL.pdf v. C. .
Lecture on DBMS & MySQL.pdf v.  C.     .Lecture on DBMS & MySQL.pdf v.  C.     .
Lecture on DBMS & MySQL.pdf v. C. .
MayankSinghRawat6
 
GROUP-4-Database-Connectivity-with-MySqL.pptx
GROUP-4-Database-Connectivity-with-MySqL.pptxGROUP-4-Database-Connectivity-with-MySqL.pptx
GROUP-4-Database-Connectivity-with-MySqL.pptx
JohnLhoydMaderable
 
Oracle
OracleOracle
Oracle
argusacademy
 
Data Base Management System.pdf
Data Base Management System.pdfData Base Management System.pdf
Data Base Management System.pdf
TENZING LHADON
 
Islamic University Previous Year Question Solution 2018 (ADBMS)
Islamic University Previous Year Question Solution 2018 (ADBMS)Islamic University Previous Year Question Solution 2018 (ADBMS)
Islamic University Previous Year Question Solution 2018 (ADBMS)
Rakibul Hasan Pranto
 
DATABASE-1.pptx
DATABASE-1.pptxDATABASE-1.pptx
DATABASE-1.pptx
ManasRanjanRana4
 
PPT SQL CLASS.pptx
PPT SQL CLASS.pptxPPT SQL CLASS.pptx
PPT SQL CLASS.pptx
AngeOuattara
 
unit 1.pptx
unit 1.pptxunit 1.pptx
unit 1.pptx
NIVETHA37590
 
SQL interview questions by jeetendra mandal - part 3
SQL interview questions by jeetendra mandal - part 3SQL interview questions by jeetendra mandal - part 3
SQL interview questions by jeetendra mandal - part 3
jeetendra mandal
 

Similar to RDBMS BY DANISH SHAFI MIR.pptx (20)

DATABASE CONCEPTS AND PRACTICAL EXAMPLES
DATABASE CONCEPTS AND PRACTICAL EXAMPLESDATABASE CONCEPTS AND PRACTICAL EXAMPLES
DATABASE CONCEPTS AND PRACTICAL EXAMPLES
 
DATABASE MANAGMENT SYSTEM (DBMS) AND SQL
DATABASE MANAGMENT SYSTEM (DBMS) AND SQLDATABASE MANAGMENT SYSTEM (DBMS) AND SQL
DATABASE MANAGMENT SYSTEM (DBMS) AND SQL
 
My lablkxjlkxjcvlxkcjvlxckjvlxck ppt.pptx
My lablkxjlkxjcvlxkcjvlxckjvlxck ppt.pptxMy lablkxjlkxjcvlxkcjvlxckjvlxck ppt.pptx
My lablkxjlkxjcvlxkcjvlxckjvlxck ppt.pptx
 
COMPUTERS Database
COMPUTERS Database COMPUTERS Database
COMPUTERS Database
 
DBMS and SQL(structured query language) .pptx
DBMS and SQL(structured query language) .pptxDBMS and SQL(structured query language) .pptx
DBMS and SQL(structured query language) .pptx
 
Fg d
Fg dFg d
Fg d
 
Introduction of DBMS
Introduction of DBMSIntroduction of DBMS
Introduction of DBMS
 
Relational Database Management System part II
Relational Database Management System part IIRelational Database Management System part II
Relational Database Management System part II
 
RDBMS
RDBMSRDBMS
RDBMS
 
Database COMPLETE
Database COMPLETEDatabase COMPLETE
Database COMPLETE
 
SKILLWISE-DB2 DBA
SKILLWISE-DB2 DBASKILLWISE-DB2 DBA
SKILLWISE-DB2 DBA
 
Lecture on DBMS & MySQL.pdf v. C. .
Lecture on DBMS & MySQL.pdf v.  C.     .Lecture on DBMS & MySQL.pdf v.  C.     .
Lecture on DBMS & MySQL.pdf v. C. .
 
GROUP-4-Database-Connectivity-with-MySqL.pptx
GROUP-4-Database-Connectivity-with-MySqL.pptxGROUP-4-Database-Connectivity-with-MySqL.pptx
GROUP-4-Database-Connectivity-with-MySqL.pptx
 
Oracle
OracleOracle
Oracle
 
Data Base Management System.pdf
Data Base Management System.pdfData Base Management System.pdf
Data Base Management System.pdf
 
Islamic University Previous Year Question Solution 2018 (ADBMS)
Islamic University Previous Year Question Solution 2018 (ADBMS)Islamic University Previous Year Question Solution 2018 (ADBMS)
Islamic University Previous Year Question Solution 2018 (ADBMS)
 
DATABASE-1.pptx
DATABASE-1.pptxDATABASE-1.pptx
DATABASE-1.pptx
 
PPT SQL CLASS.pptx
PPT SQL CLASS.pptxPPT SQL CLASS.pptx
PPT SQL CLASS.pptx
 
unit 1.pptx
unit 1.pptxunit 1.pptx
unit 1.pptx
 
SQL interview questions by jeetendra mandal - part 3
SQL interview questions by jeetendra mandal - part 3SQL interview questions by jeetendra mandal - part 3
SQL interview questions by jeetendra mandal - part 3
 

More from THEFPS

Classification of Lipids By Danish Shafi MIr.pptx
Classification of Lipids By Danish Shafi MIr.pptxClassification of Lipids By Danish Shafi MIr.pptx
Classification of Lipids By Danish Shafi MIr.pptx
THEFPS
 
Types of Operating System
Types of Operating SystemTypes of Operating System
Types of Operating System
THEFPS
 
1.3.6 Autoimmune disease.pptx
1.3.6 Autoimmune disease.pptx1.3.6 Autoimmune disease.pptx
1.3.6 Autoimmune disease.pptx
THEFPS
 
OS powerpoint
OS powerpointOS powerpoint
OS powerpoint
THEFPS
 
Super Computers
Super ComputersSuper Computers
Super Computers
THEFPS
 
Lecture 1.1.2-DNA(1).pptx
Lecture 1.1.2-DNA(1).pptxLecture 1.1.2-DNA(1).pptx
Lecture 1.1.2-DNA(1).pptx
THEFPS
 
RDB-fundamentals-1-intro.ppt
RDB-fundamentals-1-intro.pptRDB-fundamentals-1-intro.ppt
RDB-fundamentals-1-intro.ppt
THEFPS
 
MICROBIOLOGY 22MBI20019_2.pptx
MICROBIOLOGY 22MBI20019_2.pptxMICROBIOLOGY 22MBI20019_2.pptx
MICROBIOLOGY 22MBI20019_2.pptx
THEFPS
 
lipidsu-160413072006.pptx
lipidsu-160413072006.pptxlipidsu-160413072006.pptx
lipidsu-160413072006.pptx
THEFPS
 
Presentation.HTML.pptx
Presentation.HTML.pptxPresentation.HTML.pptx
Presentation.HTML.pptx
THEFPS
 
Concept of Genes by Danish Shafi Mir 22MBI20005.pptx
Concept of Genes by Danish Shafi Mir 22MBI20005.pptxConcept of Genes by Danish Shafi Mir 22MBI20005.pptx
Concept of Genes by Danish Shafi Mir 22MBI20005.pptx
THEFPS
 

More from THEFPS (11)

Classification of Lipids By Danish Shafi MIr.pptx
Classification of Lipids By Danish Shafi MIr.pptxClassification of Lipids By Danish Shafi MIr.pptx
Classification of Lipids By Danish Shafi MIr.pptx
 
Types of Operating System
Types of Operating SystemTypes of Operating System
Types of Operating System
 
1.3.6 Autoimmune disease.pptx
1.3.6 Autoimmune disease.pptx1.3.6 Autoimmune disease.pptx
1.3.6 Autoimmune disease.pptx
 
OS powerpoint
OS powerpointOS powerpoint
OS powerpoint
 
Super Computers
Super ComputersSuper Computers
Super Computers
 
Lecture 1.1.2-DNA(1).pptx
Lecture 1.1.2-DNA(1).pptxLecture 1.1.2-DNA(1).pptx
Lecture 1.1.2-DNA(1).pptx
 
RDB-fundamentals-1-intro.ppt
RDB-fundamentals-1-intro.pptRDB-fundamentals-1-intro.ppt
RDB-fundamentals-1-intro.ppt
 
MICROBIOLOGY 22MBI20019_2.pptx
MICROBIOLOGY 22MBI20019_2.pptxMICROBIOLOGY 22MBI20019_2.pptx
MICROBIOLOGY 22MBI20019_2.pptx
 
lipidsu-160413072006.pptx
lipidsu-160413072006.pptxlipidsu-160413072006.pptx
lipidsu-160413072006.pptx
 
Presentation.HTML.pptx
Presentation.HTML.pptxPresentation.HTML.pptx
Presentation.HTML.pptx
 
Concept of Genes by Danish Shafi Mir 22MBI20005.pptx
Concept of Genes by Danish Shafi Mir 22MBI20005.pptxConcept of Genes by Danish Shafi Mir 22MBI20005.pptx
Concept of Genes by Danish Shafi Mir 22MBI20005.pptx
 

Recently uploaded

Basics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different formsBasics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different forms
MaheshaNanjegowda
 
aziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobelaziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobel
İsa Badur
 
Eukaryotic Transcription Presentation.pptx
Eukaryotic Transcription Presentation.pptxEukaryotic Transcription Presentation.pptx
Eukaryotic Transcription Presentation.pptx
RitabrataSarkar3
 
Authoring a personal GPT for your research and practice: How we created the Q...
Authoring a personal GPT for your research and practice: How we created the Q...Authoring a personal GPT for your research and practice: How we created the Q...
Authoring a personal GPT for your research and practice: How we created the Q...
Leonel Morgado
 
Equivariant neural networks and representation theory
Equivariant neural networks and representation theoryEquivariant neural networks and representation theory
Equivariant neural networks and representation theory
Daniel Tubbenhauer
 
ESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptxESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptx
PRIYANKA PATEL
 
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
yqqaatn0
 
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
University of Maribor
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
David Osipyan
 
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptxThe use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
MAGOTI ERNEST
 
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills MN
 
Randomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNERandomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNE
University of Maribor
 
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
yqqaatn0
 
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
Abdul Wali Khan University Mardan,kP,Pakistan
 
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
Sérgio Sacani
 
8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf
by6843629
 
The binding of cosmological structures by massless topological defects
The binding of cosmological structures by massless topological defectsThe binding of cosmological structures by massless topological defects
The binding of cosmological structures by massless topological defects
Sérgio Sacani
 
molar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptxmolar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptx
Anagha Prasad
 
Applied Science: Thermodynamics, Laws & Methodology.pdf
Applied Science: Thermodynamics, Laws & Methodology.pdfApplied Science: Thermodynamics, Laws & Methodology.pdf
Applied Science: Thermodynamics, Laws & Methodology.pdf
University of Hertfordshire
 
NuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyerNuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyer
pablovgd
 

Recently uploaded (20)

Basics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different formsBasics of crystallography, crystal systems, classes and different forms
Basics of crystallography, crystal systems, classes and different forms
 
aziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobelaziz sancar nobel prize winner: from mardin to nobel
aziz sancar nobel prize winner: from mardin to nobel
 
Eukaryotic Transcription Presentation.pptx
Eukaryotic Transcription Presentation.pptxEukaryotic Transcription Presentation.pptx
Eukaryotic Transcription Presentation.pptx
 
Authoring a personal GPT for your research and practice: How we created the Q...
Authoring a personal GPT for your research and practice: How we created the Q...Authoring a personal GPT for your research and practice: How we created the Q...
Authoring a personal GPT for your research and practice: How we created the Q...
 
Equivariant neural networks and representation theory
Equivariant neural networks and representation theoryEquivariant neural networks and representation theory
Equivariant neural networks and representation theory
 
ESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptxESR spectroscopy in liquid food and beverages.pptx
ESR spectroscopy in liquid food and beverages.pptx
 
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
如何办理(uvic毕业证书)维多利亚大学毕业证本科学位证书原版一模一样
 
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
Remote Sensing and Computational, Evolutionary, Supercomputing, and Intellige...
 
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
3D Hybrid PIC simulation of the plasma expansion (ISSS-14)
 
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptxThe use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
The use of Nauplii and metanauplii artemia in aquaculture (brine shrimp).pptx
 
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
Travis Hills' Endeavors in Minnesota: Fostering Environmental and Economic Pr...
 
Randomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNERandomised Optimisation Algorithms in DAPHNE
Randomised Optimisation Algorithms in DAPHNE
 
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
原版制作(carleton毕业证书)卡尔顿大学毕业证硕士文凭原版一模一样
 
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...THEMATIC  APPERCEPTION  TEST(TAT) cognitive abilities, creativity, and critic...
THEMATIC APPERCEPTION TEST(TAT) cognitive abilities, creativity, and critic...
 
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
EWOCS-I: The catalog of X-ray sources in Westerlund 1 from the Extended Weste...
 
8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf8.Isolation of pure cultures and preservation of cultures.pdf
8.Isolation of pure cultures and preservation of cultures.pdf
 
The binding of cosmological structures by massless topological defects
The binding of cosmological structures by massless topological defectsThe binding of cosmological structures by massless topological defects
The binding of cosmological structures by massless topological defects
 
molar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptxmolar-distalization in orthodontics-seminar.pptx
molar-distalization in orthodontics-seminar.pptx
 
Applied Science: Thermodynamics, Laws & Methodology.pdf
Applied Science: Thermodynamics, Laws & Methodology.pdfApplied Science: Thermodynamics, Laws & Methodology.pdf
Applied Science: Thermodynamics, Laws & Methodology.pdf
 
NuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyerNuGOweek 2024 Ghent programme overview flyer
NuGOweek 2024 Ghent programme overview flyer
 

RDBMS BY DANISH SHAFI MIR.pptx

  • 1. RDBMS (Relational Database Management System) BY Danish Shafi Mir UID:22MBI20005,
  • 2. Overview What is DBMS RDBMS Relational Algebra Structured Query Language Difference between DBMS and RDBMS Advantage of RDBMS
  • 3. What is DBMS? DBMS (Database Management System) is a system that is used to store and manage data. A DBMS is a set of programs that is used to store and manipulation data. Manipulation of data includes the following:  Adding new data  Deleting unwanted data  Changing existing data For example adding details of new student, deleting the details of student who have completed course and modifying the fee paid by the student.
  • 4. It provides various functions like:  Data security  Data integrity  Data sharing  Data concurrence  Data independence  Data recovery
  • 5. RDBMS(Relational Database Management System)  RDBMS stands for Relational Database Management System. RDBMS data is structured in database tables, fields and records.  Each RDBMS table consists of database table rows.  Each database table row consists of one or more database table fields.  RDBMS store the data into collection of tables, which might be related by common fields (database table columns).  RDBMS also provide relational operators tomanipulate the data stored into the database tables.
  • 6.  Most RDBMS use SQL as database query language.  The relation is the only data structure used in the relational data model to represent both entities and relationships between them.  Rows of the relation are referred to as tuples of the relation and columns are its attributes.  Each attribute of the column are drawn from the set of values known as domain. The domain of an attribute contains the set of values that the attribute may assume.
  • 7.
  • 8. Tuple /Row A single row in the table is called as tuple. Each row represents the data of a single entity. Attribute/Column A column stores an attribute of the entity. For example, if details of students are stored then student name is an attribute; course is another attribute and so on. Column Name Each column in the table is given a name. This name is used to refer to value in the column.
  • 9. Table Name Each table is given a name. This is used torefer tothe table. The name depicts the content of the table. The following are two other terms, primary key and foreign key, that are very important in relational model. Relational Algebra A set of operators used toperform operations on tables is called as relational algebra. Operators in relational algebra take one or more tables as parameters and produce one table as the result. The following are operators in relational algebra:  Union  Intersect  Difference or minus  Project  Select  Join
  • 10. Union This takes two tables and returns all rows that are belonging to either first or second table (or both). Intersect This takes two tables and returns all rows that are belonging to first and second table. Difference or Minus This takes two tables and returns all rows that exist in the first table and not in the second table.
  • 11. Project Takes a single table and returns the vertical subset of the table. Select Takes a single table and returns a horizontal subset of the table. That means it returns only those rows that satisfy the condition. Join Rows of two table are combined based on the given column(s) values. The tables being joined must have a common column.
  • 12. SQL(Structured Query Language) Almost all relational database management systems use SQL(Structured Query Language) for data manipulation and retrieval. SQL is the standard language for relational database systems. SQL is a non-procedural language, where you need to concentrate on what you want, not on how you get it. Put it in other way, you need not be concerned with procedural details.
  • 13. SQL Commands are divided into four categories, depending upon what they do.  DDL (Data Definition Language) commands are used to define the data. For example, CREATE TABLE.  DML (Data Manipulation Language) commands such as, INSERT and DELETE are used to manipulate data.  DCL (Data Control Language) commands are used to control access to data. For example, GRANT.  Query (Retrieving data) It is used to retrieve data using SELECT. DML and Query are also collectively called as DML. And DDL and DCL are called as DDL.
  • 14. Advantages of RDBMS A "relational database" is a database structured on the "relational" model. Data are stored and presented in a tabular format, organized in rows and columns with one record per row.  Data Structure  Multi-User Access  Privileges  Network Access  Speed  Maintenance  Language