SlideShare a Scribd company logo
Structured Query
Language
What is
Structured
Query
Language
Structured Query Language is a standard Database
language which is used to create, maintain and retrieve the
relational database.
What is Relational Database?
Relational database means the data is stored as well as
retrieved in the form of relations (tables).
History Of
SQL
 the original version of SQL called SEQUEL
(structured English query language) was designed by
an IBM research center in 1974 and 1975. SQL was first
introduced as a commercial database system in 1979 by
Oracle Corporation.
 SQL became a standard of the American National
Standards Institute (ANSI) in 1986, and of the
International Organization for Standardization (ISO) in
1987
Why SQL?
 SQL is very simple and easy to learn
 Allows users to access data in the relational database
management systems.
 Allows users to describe the data.
 Allows users to define the data in a database and
manipulate that data.
 Allows to embed within other languages using SQL
modules, libraries & pre-compilers.
 Allows users to create and drop databases and tables.
 Allows users to set permissions on tables and views.
Several Parts
Of SQL
 DDL (Data Definition Language)
 DML (Data Manipulation Language)
 DCL (Data Control Language)
 TCL (Transaction Control Language)
DDL: Data
Definition
Language
 Data Definition Language is used to define the database
structure or schema. DDL is also used to specify
additional properties of the data.
 This includes changes to the structure of the table like
creation of table or database , altering table, deleting a
table , truncate table or rename a table etc.
DML: Data
Manipulatio
n Language
DML deals with data manipulation, and includes most
common SQL statements such SELECT, INSERT, UPDATE,
DELETE and it is used to store, modify, retrieve, delete and
update data in database
DCL: Data
Control
Language
Data control language are the commands to grant and take
back authority from any database user.
TCL:
Transaction
Control
Language
Transaction Control Language(TCL) commands are used to
manage transactions in the database. These are used to
manage the changes made to the data in a table by DML
statements. It also allows statements to be grouped
together into logical transactions.
Roles of SQL
 SQL retrieves data from the database.
 It can be used along with programming language to
access data from database. It is a database
programming language.
 It can be used to monitor and control data access by
various users. It is a database administration language.
 It can be used as an Internet data access language.
Ad

More Related Content

Similar to structures query langauge basic for learners (20)

Structured Query Language
Structured Query LanguageStructured Query Language
Structured Query Language
Surkhab Shelly
 
Sqlite
SqliteSqlite
Sqlite
Raghu nath
 
Introduction to SQL.pptx
Introduction to SQL.pptxIntroduction to SQL.pptx
Introduction to SQL.pptx
shubhidas
 
SQL.pptx
SQL.pptxSQL.pptx
SQL.pptx
ajeetyadav541305
 
Oracle Introduction
Oracle Introduction Oracle Introduction
Oracle Introduction
Mohana Rajendiran
 
Dbmsunit v
Dbmsunit vDbmsunit v
Dbmsunit v
Mohana Rajendiran
 
Pl sql content
Pl sql contentPl sql content
Pl sql content
MargaretMaryT
 
lovely
lovelylovely
lovely
love0323
 
DBMS_Procedural language-SQL,TSQL ADVANCE data base management system.pptx
DBMS_Procedural language-SQL,TSQL ADVANCE data base management system.pptxDBMS_Procedural language-SQL,TSQL ADVANCE data base management system.pptx
DBMS_Procedural language-SQL,TSQL ADVANCE data base management system.pptx
attiyarehman783
 
Structured query language
Structured query languageStructured query language
Structured query language
Rashid Ansari
 
SQL Introduction.pptx
SQL Introduction.pptxSQL Introduction.pptx
SQL Introduction.pptx
RUBAB79
 
Sql tutorial, tutorials sql
Sql tutorial, tutorials sqlSql tutorial, tutorials sql
Sql tutorial, tutorials sql
Vivek Singh
 
Web app development_my_sql_08
Web app development_my_sql_08Web app development_my_sql_08
Web app development_my_sql_08
Hassen Poreya
 
Introduction to SQL and Data Defination Language Commands
Introduction to SQL and Data Defination Language CommandsIntroduction to SQL and Data Defination Language Commands
Introduction to SQL and Data Defination Language Commands
priyanaik70
 
sql ppt.pptx
sql ppt.pptxsql ppt.pptx
sql ppt.pptx
ArunT58
 
SQL for Data Analytics: Mastering Queries and Reporting with Training
SQL for Data Analytics: Mastering Queries and Reporting with TrainingSQL for Data Analytics: Mastering Queries and Reporting with Training
SQL for Data Analytics: Mastering Queries and Reporting with Training
Institute
 
Data base
Data baseData base
Data base
Girish Gowda
 
Oracle SQL Part1
Oracle SQL Part1Oracle SQL Part1
Oracle SQL Part1
Gurpreet singh
 
MODERN DATABASES (2).pptx in which modern types of data bases
MODERN DATABASES (2).pptx in which modern types of data basesMODERN DATABASES (2).pptx in which modern types of data bases
MODERN DATABASES (2).pptx in which modern types of data bases
lovepreet33653
 
Sql tutorial
Sql tutorialSql tutorial
Sql tutorial
Rumman Ansari
 
Structured Query Language
Structured Query LanguageStructured Query Language
Structured Query Language
Surkhab Shelly
 
Introduction to SQL.pptx
Introduction to SQL.pptxIntroduction to SQL.pptx
Introduction to SQL.pptx
shubhidas
 
DBMS_Procedural language-SQL,TSQL ADVANCE data base management system.pptx
DBMS_Procedural language-SQL,TSQL ADVANCE data base management system.pptxDBMS_Procedural language-SQL,TSQL ADVANCE data base management system.pptx
DBMS_Procedural language-SQL,TSQL ADVANCE data base management system.pptx
attiyarehman783
 
Structured query language
Structured query languageStructured query language
Structured query language
Rashid Ansari
 
SQL Introduction.pptx
SQL Introduction.pptxSQL Introduction.pptx
SQL Introduction.pptx
RUBAB79
 
Sql tutorial, tutorials sql
Sql tutorial, tutorials sqlSql tutorial, tutorials sql
Sql tutorial, tutorials sql
Vivek Singh
 
Web app development_my_sql_08
Web app development_my_sql_08Web app development_my_sql_08
Web app development_my_sql_08
Hassen Poreya
 
Introduction to SQL and Data Defination Language Commands
Introduction to SQL and Data Defination Language CommandsIntroduction to SQL and Data Defination Language Commands
Introduction to SQL and Data Defination Language Commands
priyanaik70
 
sql ppt.pptx
sql ppt.pptxsql ppt.pptx
sql ppt.pptx
ArunT58
 
SQL for Data Analytics: Mastering Queries and Reporting with Training
SQL for Data Analytics: Mastering Queries and Reporting with TrainingSQL for Data Analytics: Mastering Queries and Reporting with Training
SQL for Data Analytics: Mastering Queries and Reporting with Training
Institute
 
MODERN DATABASES (2).pptx in which modern types of data bases
MODERN DATABASES (2).pptx in which modern types of data basesMODERN DATABASES (2).pptx in which modern types of data bases
MODERN DATABASES (2).pptx in which modern types of data bases
lovepreet33653
 

More from syedalishahid6 (7)

StorageIndexing_CS541.ppt indexes for dtata bae
StorageIndexing_CS541.ppt indexes for dtata baeStorageIndexing_CS541.ppt indexes for dtata bae
StorageIndexing_CS541.ppt indexes for dtata bae
syedalishahid6
 
Chapter17.pptx data base management sysytetem
Chapter17.pptx data base management sysytetemChapter17.pptx data base management sysytetem
Chapter17.pptx data base management sysytetem
syedalishahid6
 
internet.pptx internet introduction for s
internet.pptx internet introduction for sinternet.pptx internet introduction for s
internet.pptx internet introduction for s
syedalishahid6
 
sql explained1585625790_SQL-SESSION1.pptx
sql explained1585625790_SQL-SESSION1.pptxsql explained1585625790_SQL-SESSION1.pptx
sql explained1585625790_SQL-SESSION1.pptx
syedalishahid6
 
SQL-examples.pptx sql structured d query
SQL-examples.pptx sql structured d querySQL-examples.pptx sql structured d query
SQL-examples.pptx sql structured d query
syedalishahid6
 
Chap04 (normalization 1 2 3 form ).pptx
Chap04 (normalization 1 2 3  form ).pptxChap04 (normalization 1 2 3  form ).pptx
Chap04 (normalization 1 2 3 form ).pptx
syedalishahid6
 
ERD_01B=DBMS DATA BASE MANAGEMENT SYSTEM.ppt
ERD_01B=DBMS DATA BASE MANAGEMENT SYSTEM.pptERD_01B=DBMS DATA BASE MANAGEMENT SYSTEM.ppt
ERD_01B=DBMS DATA BASE MANAGEMENT SYSTEM.ppt
syedalishahid6
 
StorageIndexing_CS541.ppt indexes for dtata bae
StorageIndexing_CS541.ppt indexes for dtata baeStorageIndexing_CS541.ppt indexes for dtata bae
StorageIndexing_CS541.ppt indexes for dtata bae
syedalishahid6
 
Chapter17.pptx data base management sysytetem
Chapter17.pptx data base management sysytetemChapter17.pptx data base management sysytetem
Chapter17.pptx data base management sysytetem
syedalishahid6
 
internet.pptx internet introduction for s
internet.pptx internet introduction for sinternet.pptx internet introduction for s
internet.pptx internet introduction for s
syedalishahid6
 
sql explained1585625790_SQL-SESSION1.pptx
sql explained1585625790_SQL-SESSION1.pptxsql explained1585625790_SQL-SESSION1.pptx
sql explained1585625790_SQL-SESSION1.pptx
syedalishahid6
 
SQL-examples.pptx sql structured d query
SQL-examples.pptx sql structured d querySQL-examples.pptx sql structured d query
SQL-examples.pptx sql structured d query
syedalishahid6
 
Chap04 (normalization 1 2 3 form ).pptx
Chap04 (normalization 1 2 3  form ).pptxChap04 (normalization 1 2 3  form ).pptx
Chap04 (normalization 1 2 3 form ).pptx
syedalishahid6
 
ERD_01B=DBMS DATA BASE MANAGEMENT SYSTEM.ppt
ERD_01B=DBMS DATA BASE MANAGEMENT SYSTEM.pptERD_01B=DBMS DATA BASE MANAGEMENT SYSTEM.ppt
ERD_01B=DBMS DATA BASE MANAGEMENT SYSTEM.ppt
syedalishahid6
 
Ad

Recently uploaded (20)

apa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdfapa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdf
Ishika Ghosh
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-30-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 4-30-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 4-30-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 4-30-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-3-2025.pptx
YSPH VMOC Special Report - Measles Outbreak  Southwest US 5-3-2025.pptxYSPH VMOC Special Report - Measles Outbreak  Southwest US 5-3-2025.pptx
YSPH VMOC Special Report - Measles Outbreak Southwest US 5-3-2025.pptx
Yale School of Public Health - The Virtual Medical Operations Center (VMOC)
 
THE STG QUIZ GROUP D.pptx quiz by Ridip Hazarika
THE STG QUIZ GROUP D.pptx   quiz by Ridip HazarikaTHE STG QUIZ GROUP D.pptx   quiz by Ridip Hazarika
THE STG QUIZ GROUP D.pptx quiz by Ridip Hazarika
Ridip Hazarika
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
Grade 2 - Mathematics - Printable Worksheet
Grade 2 - Mathematics - Printable WorksheetGrade 2 - Mathematics - Printable Worksheet
Grade 2 - Mathematics - Printable Worksheet
Sritoma Majumder
 
How to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of saleHow to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of sale
Celine George
 
Sugar-Sensing Mechanism in plants....pptx
Sugar-Sensing Mechanism in plants....pptxSugar-Sensing Mechanism in plants....pptx
Sugar-Sensing Mechanism in plants....pptx
Dr. Renu Jangid
 
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptxSCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
Ronisha Das
 
dynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south Indiadynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south India
PrachiSontakke5
 
Presentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem KayaPresentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdfIntroduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
james5028
 
Geography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjectsGeography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjects
ProfDrShaikhImran
 
Real GitHub Copilot Exam Dumps for Success
Real GitHub Copilot Exam Dumps for SuccessReal GitHub Copilot Exam Dumps for Success
Real GitHub Copilot Exam Dumps for Success
Mark Soia
 
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
larencebapu132
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
APM Midlands Region April 2025 Sacha Hind Circulated.pdf
APM Midlands Region April 2025 Sacha Hind Circulated.pdfAPM Midlands Region April 2025 Sacha Hind Circulated.pdf
APM Midlands Region April 2025 Sacha Hind Circulated.pdf
Association for Project Management
 
"Basics of Heterocyclic Compounds and Their Naming Rules"
"Basics of Heterocyclic Compounds and Their Naming Rules""Basics of Heterocyclic Compounds and Their Naming Rules"
"Basics of Heterocyclic Compounds and Their Naming Rules"
rupalinirmalbpharm
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
apa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdfapa-style-referencing-visual-guide-2025.pdf
apa-style-referencing-visual-guide-2025.pdf
Ishika Ghosh
 
THE STG QUIZ GROUP D.pptx quiz by Ridip Hazarika
THE STG QUIZ GROUP D.pptx   quiz by Ridip HazarikaTHE STG QUIZ GROUP D.pptx   quiz by Ridip Hazarika
THE STG QUIZ GROUP D.pptx quiz by Ridip Hazarika
Ridip Hazarika
 
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 AccountingHow to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
How to Customize Your Financial Reports & Tax Reports With Odoo 17 Accounting
Celine George
 
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - WorksheetCBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
CBSE - Grade 8 - Science - Chemistry - Metals and Non Metals - Worksheet
Sritoma Majumder
 
Grade 2 - Mathematics - Printable Worksheet
Grade 2 - Mathematics - Printable WorksheetGrade 2 - Mathematics - Printable Worksheet
Grade 2 - Mathematics - Printable Worksheet
Sritoma Majumder
 
How to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of saleHow to manage Multiple Warehouses for multiple floors in odoo point of sale
How to manage Multiple Warehouses for multiple floors in odoo point of sale
Celine George
 
Sugar-Sensing Mechanism in plants....pptx
Sugar-Sensing Mechanism in plants....pptxSugar-Sensing Mechanism in plants....pptx
Sugar-Sensing Mechanism in plants....pptx
Dr. Renu Jangid
 
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptxSCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
SCI BIZ TECH QUIZ (OPEN) PRELIMS XTASY 2025.pptx
Ronisha Das
 
dynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south Indiadynastic art of the Pallava dynasty south India
dynastic art of the Pallava dynasty south India
PrachiSontakke5
 
Presentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem KayaPresentation of the MIPLM subject matter expert Erdem Kaya
Presentation of the MIPLM subject matter expert Erdem Kaya
MIPLM
 
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdfIntroduction-to-Communication-and-Media-Studies-1736283331.pdf
Introduction-to-Communication-and-Media-Studies-1736283331.pdf
james5028
 
Geography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjectsGeography Sem II Unit 1C Correlation of Geography with other school subjects
Geography Sem II Unit 1C Correlation of Geography with other school subjects
ProfDrShaikhImran
 
Real GitHub Copilot Exam Dumps for Success
Real GitHub Copilot Exam Dumps for SuccessReal GitHub Copilot Exam Dumps for Success
Real GitHub Copilot Exam Dumps for Success
Mark Soia
 
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
World war-1(Causes & impacts at a glance) PPT by Simanchala Sarab(BABed,sem-4...
larencebapu132
 
2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx2541William_McCollough_DigitalDetox.docx
2541William_McCollough_DigitalDetox.docx
contactwilliamm2546
 
"Basics of Heterocyclic Compounds and Their Naming Rules"
"Basics of Heterocyclic Compounds and Their Naming Rules""Basics of Heterocyclic Compounds and Their Naming Rules"
"Basics of Heterocyclic Compounds and Their Naming Rules"
rupalinirmalbpharm
 
Introduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe EngineeringIntroduction to Vibe Coding and Vibe Engineering
Introduction to Vibe Coding and Vibe Engineering
Damian T. Gordon
 
Ad

structures query langauge basic for learners

  • 2. What is Structured Query Language Structured Query Language is a standard Database language which is used to create, maintain and retrieve the relational database. What is Relational Database? Relational database means the data is stored as well as retrieved in the form of relations (tables).
  • 3. History Of SQL  the original version of SQL called SEQUEL (structured English query language) was designed by an IBM research center in 1974 and 1975. SQL was first introduced as a commercial database system in 1979 by Oracle Corporation.  SQL became a standard of the American National Standards Institute (ANSI) in 1986, and of the International Organization for Standardization (ISO) in 1987
  • 4. Why SQL?  SQL is very simple and easy to learn  Allows users to access data in the relational database management systems.  Allows users to describe the data.  Allows users to define the data in a database and manipulate that data.  Allows to embed within other languages using SQL modules, libraries & pre-compilers.  Allows users to create and drop databases and tables.  Allows users to set permissions on tables and views.
  • 5. Several Parts Of SQL  DDL (Data Definition Language)  DML (Data Manipulation Language)  DCL (Data Control Language)  TCL (Transaction Control Language)
  • 6. DDL: Data Definition Language  Data Definition Language is used to define the database structure or schema. DDL is also used to specify additional properties of the data.  This includes changes to the structure of the table like creation of table or database , altering table, deleting a table , truncate table or rename a table etc.
  • 7. DML: Data Manipulatio n Language DML deals with data manipulation, and includes most common SQL statements such SELECT, INSERT, UPDATE, DELETE and it is used to store, modify, retrieve, delete and update data in database
  • 8. DCL: Data Control Language Data control language are the commands to grant and take back authority from any database user.
  • 9. TCL: Transaction Control Language Transaction Control Language(TCL) commands are used to manage transactions in the database. These are used to manage the changes made to the data in a table by DML statements. It also allows statements to be grouped together into logical transactions.
  • 10. Roles of SQL  SQL retrieves data from the database.  It can be used along with programming language to access data from database. It is a database programming language.  It can be used to monitor and control data access by various users. It is a database administration language.  It can be used as an Internet data access language.