SlideShare a Scribd company logo
Subject:DBMS
(MCA, M.Sc., PGDCA )
Pratibha Rashmi
Dr. Bhimrao Ambedkar University, Agra
 SQL (Structured Query Language) is a
computer language aimed to store,
manipulate, and retrieve data stored in
relational databases.
 IBM implemented the language, originally
called Sequel, as part of the System R
project in the early 1970s..
 The first commercial relational database
was released by Relational Software later
becoming oracle.
 DDL is abbreviation of Data Definition
Language. It is used to create and modify
the structure of database tables in database.
 CREATE – Creates tables in the database
 ALTER – Alters tables of the database
 DROP – Deletes tables of the database
 TRUNCATE – Deletes all records from a table
and resets table identity to initial value.
 DML is abbreviation of Data Manipulation
Language. It is used to retrieve, store,
modify, delete, insert and update data in
database.
 SELECT – Retrieves data from a table
 INSERT - Inserts data into a table
 UPDATE – Updates existing data into a table
 DELETE – Deletes all records from a table
 DCL is abbreviation of Data Control
Language. It is used to create roles,
permissions, and referential integrity as well
it is used to control access to database by
securing it.
 GRANT – Gives user's access privileges to
database
 REVOKE – Withdraws user's access privileges
to database given with the GRANT command
 TCL is abbreviation of Transactional Control
Language. It is used to manage different
transactions occurring within a database.
 COMMIT – Saves work done in transactions
 ROLLBACK – Restores database to original
state since the last COMMIT command in
transactions
 SAVE TRANSACTION – Sets a savepoint within
a transaction

More Related Content

PPTX
Database Languages.pptx
PPTX
Ddl vs dml
PPTX
Database Languges
PPTX
PPSX
IM02: Database Language
PDF
Database management system chapter1
PPTX
RDBMS
Database Languages.pptx
Ddl vs dml
Database Languges
IM02: Database Language
Database management system chapter1
RDBMS

What's hot (20)

PDF
Unit 4 rdbms study_material
PPT
Chapter02
PPT
Unit 02 dbms
PPTX
3 db architecture
PDF
PDF
Unit 3 rdbms study_materials-converted
PPTX
A project on DBMS and RDMS
PPT
Dbms relational model
PDF
Micro project co 3 i 22 question
PDF
Unit 2 rdbms study_material
PPTX
A concept of dbms
PPT
Database management system overview
PPT
PPTX
Database management system
PDF
PDF
Unit1 rdbms study_materials
PPT
D B M S Animate
Unit 4 rdbms study_material
Chapter02
Unit 02 dbms
3 db architecture
Unit 3 rdbms study_materials-converted
A project on DBMS and RDMS
Dbms relational model
Micro project co 3 i 22 question
Unit 2 rdbms study_material
A concept of dbms
Database management system overview
Database management system
Unit1 rdbms study_materials
D B M S Animate
Ad

Similar to Sql (20)

PPTX
Structured Query Language (SQL)
PPTX
RDBMS Lab-Introduction.pptx A relational database management system (RDBMS) i...
PPTX
SQL2.pptx
PPTX
structures query langauge basic for learners
PPTX
Structured query language
PPTX
An intoduction to sql and its components
PPTX
Introduction to Database Management Systems and SQL
PDF
my sql
PDF
Web app development_my_sql_08
PPTX
lovely
DOCX
Oracle 11g SQL Overview
PPTX
Structured Query Language
PPTX
DATABASE PRESENTATION
PPTX
SQL ARPIT YADAV.pptx
PPTX
SQL_Introduction_Updated.pptx
PPTX
DDL And DML
PPTX
DDL and DML.pptx ddl vs dml ddl and dml ddl and dml
PPTX
unit 1.pptx
PPTX
Data Ware Housing through SQL concept
Structured Query Language (SQL)
RDBMS Lab-Introduction.pptx A relational database management system (RDBMS) i...
SQL2.pptx
structures query langauge basic for learners
Structured query language
An intoduction to sql and its components
Introduction to Database Management Systems and SQL
my sql
Web app development_my_sql_08
lovely
Oracle 11g SQL Overview
Structured Query Language
DATABASE PRESENTATION
SQL ARPIT YADAV.pptx
SQL_Introduction_Updated.pptx
DDL And DML
DDL and DML.pptx ddl vs dml ddl and dml ddl and dml
unit 1.pptx
Data Ware Housing through SQL concept
Ad

More from PratibhaRashmiSingh (6)

PDF
Concurrency control
PDF
Transaction
PDF
Schedule in DBMS
PDF
Types of normalization
PDF
Normalization
PDF
Data manipulation language
Concurrency control
Transaction
Schedule in DBMS
Types of normalization
Normalization
Data manipulation language

Recently uploaded (20)

PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
PPTX
master seminar digital applications in india
PDF
Complications of Minimal Access Surgery at WLH
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PDF
Weekly quiz Compilation Jan -July 25.pdf
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Cell Types and Its function , kingdom of life
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
Classroom Observation Tools for Teachers
PDF
Trump Administration's workforce development strategy
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
Cell Structure & Organelles in detailed.
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
master seminar digital applications in india
Complications of Minimal Access Surgery at WLH
Practical Manual AGRO-233 Principles and Practices of Natural Farming
Weekly quiz Compilation Jan -July 25.pdf
01-Introduction-to-Information-Management.pdf
Cell Types and Its function , kingdom of life
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Classroom Observation Tools for Teachers
Trump Administration's workforce development strategy
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Cell Structure & Organelles in detailed.
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Orientation - ARALprogram of Deped to the Parents.pptx
Module 4: Burden of Disease Tutorial Slides S2 2025
2.FourierTransform-ShortQuestionswithAnswers.pdf

Sql

  • 1. Subject:DBMS (MCA, M.Sc., PGDCA ) Pratibha Rashmi Dr. Bhimrao Ambedkar University, Agra
  • 2.  SQL (Structured Query Language) is a computer language aimed to store, manipulate, and retrieve data stored in relational databases.  IBM implemented the language, originally called Sequel, as part of the System R project in the early 1970s..  The first commercial relational database was released by Relational Software later becoming oracle.
  • 3.  DDL is abbreviation of Data Definition Language. It is used to create and modify the structure of database tables in database.  CREATE – Creates tables in the database  ALTER – Alters tables of the database  DROP – Deletes tables of the database  TRUNCATE – Deletes all records from a table and resets table identity to initial value.
  • 4.  DML is abbreviation of Data Manipulation Language. It is used to retrieve, store, modify, delete, insert and update data in database.  SELECT – Retrieves data from a table  INSERT - Inserts data into a table  UPDATE – Updates existing data into a table  DELETE – Deletes all records from a table
  • 5.  DCL is abbreviation of Data Control Language. It is used to create roles, permissions, and referential integrity as well it is used to control access to database by securing it.  GRANT – Gives user's access privileges to database  REVOKE – Withdraws user's access privileges to database given with the GRANT command
  • 6.  TCL is abbreviation of Transactional Control Language. It is used to manage different transactions occurring within a database.  COMMIT – Saves work done in transactions  ROLLBACK – Restores database to original state since the last COMMIT command in transactions  SAVE TRANSACTION – Sets a savepoint within a transaction