SlideShare a Scribd company logo
Database Management
System (DBMS)
Gevita Chinnaiah
 DBMS stands or Database Management System.
 DBMS = Database + Management System.
 Database is a collection of data and Management
System is a set of programs to store and retrieve those
data.
 Advantages over traditional file-based systems
 Data Independence
 Data Consistency and Integrity
 Data Security
 Data Concurrency
 Data Recovery and Backup
 Data Scalability
Introduction to DBMS
 DBMS is a software that is used to manage the
data.
◦ MySQL
◦ IBM Db2
◦ Oracle
◦ PostgreSQL
 DBMS provides an interface to the user so that
the operations on database can be performed
using the interface and secure the data
 DBMS also secures the data from unauthorised
access as well as corrupt data insertions.
What is DBMS?
 Data Definition - Creation of table, table
schema creation, removal of table definition
 Data Modification - allows users to insert,
update and delete the data from the tables.
 Data Retrieval - allows users to fetch data
from the database
 User administration - allows user
management such as organizing users in
different groups with different access levels
Operations of the database
 Storage of data - the data is stored in such a
way that it acquires lot less space as the
redundant data (duplicate data) has been
removed before storage
 Retrieval of data - Along with storing the data
in an optimized and systematic manner, it is
also important that we retrieve the data
quickly when needed
What is the need of DBMS?
 Manage the Data
 Data Organization
 Data Storage
 Data Retrieval
 Data Integrity
 Data Security
 Data Sharing and Collaboration
 Data Consistency
 Data Scalability
Purpose of Database Systems
 Telecom
 Industry
 Banking System
 Sales
 Airlines
 Education sector
 Online shopping .etc
DBMS applications
 No redundant data
 Data Consistency and Integrity
 Data Security
 Privacy
 Easy access to data
 Easy recovery
 Flexible
Advantage of DBMS
 Cost is high
 Complexity
 Performance
Disadvantages of DBMS
 SQL (Structured Query Language)
DBMS languages
 Data Definition Language (DDL)
 Data Manipulation Language (DML)
 Transaction Control Language(TCL)
 Data Control language (DCL)
 Data Query Language DQL
Types of DBMS languages
Command Description
create to create new table or database
alter for alteration
truncate delete data from table
drop to drop a table
rename to rename a table
Data Definition Language (DDL)
 SQL statement creates a table named
"Employees" with columns for employee ID,
name, and salary
Data Definition Language
DDL(Create)
 The following SQL statement adds a new
column called "Department" to the "Employees"
table:
Data Definition Language
DDL(alter)
 the following SQL statement drops the
"Employees" table:
Data Definition Language
DDL(DROP)
 It is a faster alternative to the DELETE
statement for removing all records from a table.
Here's an example:
Data Definition Language
DDL(TRUNCATE)
 It is a faster alternative to the DELETE
statement for removing all records from a table.
Here's an example:
Data Definition Language
DDL(COMMENT)
Command Description
insert to insert a new row
update to update existing row
delete to delete a row
merge merging two rows or two tables
Data Manipulation Language (DML)
 The INSERT command is used to add new rows
or records into a database table. It allows you to
specify the values for each column in the table.
Data Manipulation Language
(DML) - Insert
 The UPDATE command is used to modify
existing records in a database table. It allows
you to change the values of one or more
columns based on specified conditions.
Data Manipulation Language
(DML) - UPDATE:
 The DELETE command is used to remove one
or more records from a database table.
Data Manipulation Language
(DML) - DELETE:
 The MERGE command (also known as
UPSERT) is used to perform an insert or update
operation based on a specified condition
 It allows you to insert a new record or update an
existing record depending on whether the
condition is true or false.
Data Manipulation Language
(DML) - MERGE:
Command Description
commit to permanently save
rollback to undo change
savepoint to save temporarily
Transaction Control
Language(TCL)
 The COMMIT command is used to permanently
save the changes made during a transaction. It
marks the successful completion of a transaction
and makes all the changes made within that
transaction permanent.
Transaction Control
Language(TCL) COMMIT
 The ROLLBACK command is used to undo the
changes made within a transaction.
 It cancels the effects of the transaction, reverting
the database to its state before the transaction
began.
Transaction Control
Language(TCL) ROLLBACK
 SAVEPOINT is a command used to create a
named point within a transaction to which we
can later roll back.
 It allows us to mark a specific location within a
transaction so that we can partially undo the
changes made after that point.
Transaction Control
Language(TCL) SAVEPOINT
Command Description
grant grant permission of right
revoke take back permission.
Data Control language (DCL)
 The "GRANT" statement is used to give specific
privileges to users or roles in the database.
 Privileges are permissions that allow users to
perform certain actions on the database objects,
such as tables, views, procedures, or functions.
Data Control language (DCL)
GRANT
 The "REVOKE" statement is used to take away
or revoke privileges that have been previously
granted to users or roles in the database.
 It is the opposite of the GRANT statement and is
used to ensure that users have only the
necessary privileges to perform their tasks.
Data Control language (DCL)
REVOKE
Command Description
select retrieve records from one or
more table
DQL: Data Query Language
 DQL allows users to specify what data they want
to retrieve from the database based on certain
criteria or conditions.
 The database has a table named "employees"
with columns such as "employee_id,"
"first_name," "last_name," and "salary.“
SELECT first_name, last_name FROM
employees;
DQL: Data Query Language
select
 if you only want to retrieve the names of
employees who have a salary greater than 5000
SELECT first_name, last_name FROM employees
WHERE salary > 5000;
DQL: Data Query Language
select (cont.)
Time for practices our Database
skills
THANK YOU

More Related Content

Similar to Database Management System (DBMS).pptx (20)

DOC
Oracle sql material
prathap kumar
 
PPTX
An intoduction to sql and its components
Monika Jain DAIMSR
 
PPTX
Relation Database Management Systems-23UITCC31.pptx
vanithar32
 
PDF
ppt.pdf
BrahmamKolli
 
PPTX
Rdbms
renukarenuka9
 
PPTX
Database models and DBMS languages
DivyaKS12
 
PPTX
Database management system by Neeraj Bhandari ( Surkhet.Nepal )
Neeraj Bhandari
 
PDF
Web app development_my_sql_08
Hassen Poreya
 
PPTX
lovely
love0323
 
PPTX
Database administration
Pico Ya
 
PPTX
Introduction to database and sql fir beginers
reshmi30
 
PDF
SQL_NOTES.pdf
AnshumanDwivedi14
 
PPTX
SQLBasic to advance for the beggineers.pptx
testvarun21
 
PPTX
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
LGS, GBHS&IC, University Of South-Asia, TARA-Technologies
 
PPTX
Data base
Girish Gowda
 
PDF
our company has an opening for a junior database administrator. As a.pdf
arshiartpalace
 
PPTX
SQLSlide
OrtonRandyandy34534
 
PPTX
database language ppt.pptx
Anusha sivakumar
 
PPT
Dbms presentaion
sai kumar rachakonda
 
Oracle sql material
prathap kumar
 
An intoduction to sql and its components
Monika Jain DAIMSR
 
Relation Database Management Systems-23UITCC31.pptx
vanithar32
 
ppt.pdf
BrahmamKolli
 
Database models and DBMS languages
DivyaKS12
 
Database management system by Neeraj Bhandari ( Surkhet.Nepal )
Neeraj Bhandari
 
Web app development_my_sql_08
Hassen Poreya
 
lovely
love0323
 
Database administration
Pico Ya
 
Introduction to database and sql fir beginers
reshmi30
 
SQL_NOTES.pdf
AnshumanDwivedi14
 
SQLBasic to advance for the beggineers.pptx
testvarun21
 
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
LGS, GBHS&IC, University Of South-Asia, TARA-Technologies
 
Data base
Girish Gowda
 
our company has an opening for a junior database administrator. As a.pdf
arshiartpalace
 
database language ppt.pptx
Anusha sivakumar
 
Dbms presentaion
sai kumar rachakonda
 

More from GevitaChinnaiah (20)

PPTX
Mobile Application and Developments.pptx
GevitaChinnaiah
 
PPTX
White Box Testing on a Python Function.pptx
GevitaChinnaiah
 
PPTX
Building a To-Do List App lecture 1.pptx
GevitaChinnaiah
 
PPTX
Software Quality and Testing note 1.pptx
GevitaChinnaiah
 
PPTX
Introduction to JavaScript DOM and User Input.pptx
GevitaChinnaiah
 
PPT
391Lecture0909 Vision control of git.ppt
GevitaChinnaiah
 
PPTX
Introduction to Python and Basic Syntax.pptx
GevitaChinnaiah
 
PPTX
Software Programming with Python II.pptx
GevitaChinnaiah
 
PPT
a basic java programming and data type.ppt
GevitaChinnaiah
 
PPTX
Install an Operating System.pptx
GevitaChinnaiah
 
PPTX
Solve Stop Code Memory Management on Windows.pptx
GevitaChinnaiah
 
PPTX
windows memory management.pptx
GevitaChinnaiah
 
PPTX
Introduction to Database Management.pptx
GevitaChinnaiah
 
PPT
OPERATING SYSTEM CHAPTER 3.ppt
GevitaChinnaiah
 
PPTX
Lecture 3 React Native with Database.pptx
GevitaChinnaiah
 
PPTX
Operating System chapter 1.pptx
GevitaChinnaiah
 
PPTX
Lecture 2 Styling and Layout in React Native.pptx
GevitaChinnaiah
 
PPTX
Lecture 1 Introduction to React Native.pptx
GevitaChinnaiah
 
PPTX
Understanding Applications.pptx
GevitaChinnaiah
 
PPTX
Operating System 2.pptx
GevitaChinnaiah
 
Mobile Application and Developments.pptx
GevitaChinnaiah
 
White Box Testing on a Python Function.pptx
GevitaChinnaiah
 
Building a To-Do List App lecture 1.pptx
GevitaChinnaiah
 
Software Quality and Testing note 1.pptx
GevitaChinnaiah
 
Introduction to JavaScript DOM and User Input.pptx
GevitaChinnaiah
 
391Lecture0909 Vision control of git.ppt
GevitaChinnaiah
 
Introduction to Python and Basic Syntax.pptx
GevitaChinnaiah
 
Software Programming with Python II.pptx
GevitaChinnaiah
 
a basic java programming and data type.ppt
GevitaChinnaiah
 
Install an Operating System.pptx
GevitaChinnaiah
 
Solve Stop Code Memory Management on Windows.pptx
GevitaChinnaiah
 
windows memory management.pptx
GevitaChinnaiah
 
Introduction to Database Management.pptx
GevitaChinnaiah
 
OPERATING SYSTEM CHAPTER 3.ppt
GevitaChinnaiah
 
Lecture 3 React Native with Database.pptx
GevitaChinnaiah
 
Operating System chapter 1.pptx
GevitaChinnaiah
 
Lecture 2 Styling and Layout in React Native.pptx
GevitaChinnaiah
 
Lecture 1 Introduction to React Native.pptx
GevitaChinnaiah
 
Understanding Applications.pptx
GevitaChinnaiah
 
Operating System 2.pptx
GevitaChinnaiah
 
Ad

Recently uploaded (20)

PPTX
QUARTER 1 WEEK 2 PLOT, POV AND CONFLICTS
KynaParas
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PPTX
PPT-Q1-WK-3-ENGLISH Revised Matatag Grade 3.pptx
reijhongidayawan02
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PPTX
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PPTX
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PDF
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PPTX
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
QUARTER 1 WEEK 2 PLOT, POV AND CONFLICTS
KynaParas
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PPT-Q1-WK-3-ENGLISH Revised Matatag Grade 3.pptx
reijhongidayawan02
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
CATEGORIES OF NURSING PERSONNEL: HOSPITAL & COLLEGE
PRADEEP ABOTHU
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
Ad

Database Management System (DBMS).pptx

  • 2.  DBMS stands or Database Management System.  DBMS = Database + Management System.  Database is a collection of data and Management System is a set of programs to store and retrieve those data.  Advantages over traditional file-based systems  Data Independence  Data Consistency and Integrity  Data Security  Data Concurrency  Data Recovery and Backup  Data Scalability Introduction to DBMS
  • 3.  DBMS is a software that is used to manage the data. ◦ MySQL ◦ IBM Db2 ◦ Oracle ◦ PostgreSQL  DBMS provides an interface to the user so that the operations on database can be performed using the interface and secure the data  DBMS also secures the data from unauthorised access as well as corrupt data insertions. What is DBMS?
  • 4.  Data Definition - Creation of table, table schema creation, removal of table definition  Data Modification - allows users to insert, update and delete the data from the tables.  Data Retrieval - allows users to fetch data from the database  User administration - allows user management such as organizing users in different groups with different access levels Operations of the database
  • 5.  Storage of data - the data is stored in such a way that it acquires lot less space as the redundant data (duplicate data) has been removed before storage  Retrieval of data - Along with storing the data in an optimized and systematic manner, it is also important that we retrieve the data quickly when needed What is the need of DBMS?
  • 6.  Manage the Data  Data Organization  Data Storage  Data Retrieval  Data Integrity  Data Security  Data Sharing and Collaboration  Data Consistency  Data Scalability Purpose of Database Systems
  • 7.  Telecom  Industry  Banking System  Sales  Airlines  Education sector  Online shopping .etc DBMS applications
  • 8.  No redundant data  Data Consistency and Integrity  Data Security  Privacy  Easy access to data  Easy recovery  Flexible Advantage of DBMS
  • 9.  Cost is high  Complexity  Performance Disadvantages of DBMS
  • 10.  SQL (Structured Query Language) DBMS languages
  • 11.  Data Definition Language (DDL)  Data Manipulation Language (DML)  Transaction Control Language(TCL)  Data Control language (DCL)  Data Query Language DQL Types of DBMS languages
  • 12. Command Description create to create new table or database alter for alteration truncate delete data from table drop to drop a table rename to rename a table Data Definition Language (DDL)
  • 13.  SQL statement creates a table named "Employees" with columns for employee ID, name, and salary Data Definition Language DDL(Create)
  • 14.  The following SQL statement adds a new column called "Department" to the "Employees" table: Data Definition Language DDL(alter)
  • 15.  the following SQL statement drops the "Employees" table: Data Definition Language DDL(DROP)
  • 16.  It is a faster alternative to the DELETE statement for removing all records from a table. Here's an example: Data Definition Language DDL(TRUNCATE)
  • 17.  It is a faster alternative to the DELETE statement for removing all records from a table. Here's an example: Data Definition Language DDL(COMMENT)
  • 18. Command Description insert to insert a new row update to update existing row delete to delete a row merge merging two rows or two tables Data Manipulation Language (DML)
  • 19.  The INSERT command is used to add new rows or records into a database table. It allows you to specify the values for each column in the table. Data Manipulation Language (DML) - Insert
  • 20.  The UPDATE command is used to modify existing records in a database table. It allows you to change the values of one or more columns based on specified conditions. Data Manipulation Language (DML) - UPDATE:
  • 21.  The DELETE command is used to remove one or more records from a database table. Data Manipulation Language (DML) - DELETE:
  • 22.  The MERGE command (also known as UPSERT) is used to perform an insert or update operation based on a specified condition  It allows you to insert a new record or update an existing record depending on whether the condition is true or false. Data Manipulation Language (DML) - MERGE:
  • 23. Command Description commit to permanently save rollback to undo change savepoint to save temporarily Transaction Control Language(TCL)
  • 24.  The COMMIT command is used to permanently save the changes made during a transaction. It marks the successful completion of a transaction and makes all the changes made within that transaction permanent. Transaction Control Language(TCL) COMMIT
  • 25.  The ROLLBACK command is used to undo the changes made within a transaction.  It cancels the effects of the transaction, reverting the database to its state before the transaction began. Transaction Control Language(TCL) ROLLBACK
  • 26.  SAVEPOINT is a command used to create a named point within a transaction to which we can later roll back.  It allows us to mark a specific location within a transaction so that we can partially undo the changes made after that point. Transaction Control Language(TCL) SAVEPOINT
  • 27. Command Description grant grant permission of right revoke take back permission. Data Control language (DCL)
  • 28.  The "GRANT" statement is used to give specific privileges to users or roles in the database.  Privileges are permissions that allow users to perform certain actions on the database objects, such as tables, views, procedures, or functions. Data Control language (DCL) GRANT
  • 29.  The "REVOKE" statement is used to take away or revoke privileges that have been previously granted to users or roles in the database.  It is the opposite of the GRANT statement and is used to ensure that users have only the necessary privileges to perform their tasks. Data Control language (DCL) REVOKE
  • 30. Command Description select retrieve records from one or more table DQL: Data Query Language
  • 31.  DQL allows users to specify what data they want to retrieve from the database based on certain criteria or conditions.  The database has a table named "employees" with columns such as "employee_id," "first_name," "last_name," and "salary.“ SELECT first_name, last_name FROM employees; DQL: Data Query Language select
  • 32.  if you only want to retrieve the names of employees who have a salary greater than 5000 SELECT first_name, last_name FROM employees WHERE salary > 5000; DQL: Data Query Language select (cont.)
  • 33. Time for practices our Database skills