ELEMENTARY TO
INFORMATION MANAGEMENT
              IM02: Database Language




           Presented by Kelvin Chan
Introduction

• SQL is abbreviation for Structured Query Language
• A Database Language that communicates with
  Relational Database
• Can be divided into more specific language
   –   DDL
   –   DML
   –   DCL
   –   TCL
DDL
•   DDL is abbreviation for Data Definition Language
•   Used to define the database structure or schema
•   CREATE - to create objects in the database
•   ALTER - alters the structure of the database
•   DROP - delete objects from the database
•   TRUNCATE - remove all records from a table
•   COMMENT - add comments to the data dictionary
•   RENAME - rename an object
DML
• DML is abbreviation for Data Manipulation Language
• Used to manipulate data within schema objects
• SELECT - retrieve data from the a database
• INSERT - insert data into a table
• UPDATE - updates existing data within a table
• DELETE - deletes all records from a table, the space for the
  records remain
• MERGE - UPSERT operation (Insert or Update)
• CALL - call a Stored-Procedure
DCL
•   DCL is abbreviation for Data Control Language
•   Used to define roles and permissions to access database
•   GRANT - gives user's access privileges to database
•   REVOKE - withdraw access privileges given with the GRANT
    command
TCL

• TCL is abbreviation for Transactional Control Language
• Used to manage the changes made by DML statements
• COMMIT - save work done
  ROLLBACK - restore database to original since the last
  COMMIT
IM02: Database Language

More Related Content

PPTX
Structured Query Language (SQL).pptx
PPT
SQL Tutorial - Basic Commands
PDF
Chapter 4 Structured Query Language
PDF
Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...
PPTX
Normalization
PPT
Normalization PRESENTATION
PPTX
SQL Commands
DOCX
Database management system
Structured Query Language (SQL).pptx
SQL Tutorial - Basic Commands
Chapter 4 Structured Query Language
Structured Query Language (SQL) - Lecture 5 - Introduction to Databases (1007...
Normalization
Normalization PRESENTATION
SQL Commands
Database management system

What's hot (20)

PDF
Advanced Normalization
PPTX
Structure of dbms
PPT
Introduction to-sql
PPT
Data models
PPTX
Normal forms
DOC
Database queries
PPTX
Structured Query Language (SQL)
PPT
Types Of Join In Sql Server - Join With Example In Sql Server
PPT
Normalisation - 2nd normal form
PPT
11. Storage and File Structure in DBMS
PPTX
Relational Data Model Introduction
PPT
Database Relationships
PPTX
SQL Basics
PDF
Dbms Notes Lecture 9 : Specialization, Generalization and Aggregation
PPTX
Distributed DBMS - Unit 3 - Distributed DBMS Architecture
PPT
Distributed database management systems
PPT
Sql ppt
PPTX
Basic sql Commands
Advanced Normalization
Structure of dbms
Introduction to-sql
Data models
Normal forms
Database queries
Structured Query Language (SQL)
Types Of Join In Sql Server - Join With Example In Sql Server
Normalisation - 2nd normal form
11. Storage and File Structure in DBMS
Relational Data Model Introduction
Database Relationships
SQL Basics
Dbms Notes Lecture 9 : Specialization, Generalization and Aggregation
Distributed DBMS - Unit 3 - Distributed DBMS Architecture
Distributed database management systems
Sql ppt
Basic sql Commands
Ad

Viewers also liked (7)

PPTX
Relational database management system (rdbms) i
PPS
Database Design Slide 1
PPT
DATA PROCESSING CYCLE
PPTX
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
PPT
Basic DBMS ppt
PPTX
Dbms slides
PPT
Database management system presentation
Relational database management system (rdbms) i
Database Design Slide 1
DATA PROCESSING CYCLE
DML, DDL, DCL ,DRL/DQL and TCL Statements in SQL with Examples
Basic DBMS ppt
Dbms slides
Database management system presentation
Ad

Similar to IM02: Database Language (20)

PPTX
6.Database Languages lab-1.pptx
PPTX
An intoduction to sql and its components
PPTX
Database languages engineering education.pptx
DOCX
Database Language.docx
PDF
SQL_NOTES.pdf
PPTX
Structured query language
PPTX
DDL and DML.pptx ddl vs dml ddl and dml ddl and dml
PPTX
dbms (3436737839399388838388383860).pptx
PPTX
dbms gdjdjdjehdhdjjdjdudjdjdjdhhdhdbdhdhdh
PPTX
Database Management System (DBMS).pptx
PPTX
DDL And DML
PPTX
Unit - II.pptx
PDF
our company has an opening for a junior database administrator. As a.pdf
PPTX
Software Database and Testing
PPTX
Sql queries
PDF
ppt.pdf
PPTX
Lecture 2 DATABASE LANGUAGE.pptx
PPTX
Structured Query Language
PPTX
Ddl vs dml
6.Database Languages lab-1.pptx
An intoduction to sql and its components
Database languages engineering education.pptx
Database Language.docx
SQL_NOTES.pdf
Structured query language
DDL and DML.pptx ddl vs dml ddl and dml ddl and dml
dbms (3436737839399388838388383860).pptx
dbms gdjdjdjehdhdjjdjdudjdjdjdhhdhdbdhdhdh
Database Management System (DBMS).pptx
DDL And DML
Unit - II.pptx
our company has an opening for a junior database administrator. As a.pdf
Software Database and Testing
Sql queries
ppt.pdf
Lecture 2 DATABASE LANGUAGE.pptx
Structured Query Language
Ddl vs dml

Recently uploaded (20)

PPTX
Slide gioi thieu VietinBank Quy 2 - 2025
PDF
1911 Gold Corporate Presentation Aug 2025.pdf
DOCX
80 DE ÔN VÀO 10 NĂM 2023vhkkkjjhhhhjjjj
PDF
Daniels 2024 Inclusive, Sustainable Development
PDF
Robin Fischer: A Visionary Leader Making a Difference in Healthcare, One Day ...
PDF
Satish NS: Fostering Innovation and Sustainability: Haier India’s Customer-Ce...
PDF
Booking.com The Global AI Sentiment Report 2025
PDF
ICv2 White Paper - Gen Con Trade Day 2025
PDF
NEW - FEES STRUCTURES (01-july-2024).pdf
PPTX
interschool scomp.pptxzdkjhdjvdjvdjdhjhieij
PPTX
Board-Reporting-Package-by-Umbrex-5-23-23.pptx
PPTX
TRAINNING, DEVELOPMENT AND APPRAISAL.pptx
PDF
Charisse Litchman: A Maverick Making Neurological Care More Accessible
PDF
NISM Series V-A MFD Workbook v December 2024.khhhjtgvwevoypdnew one must use ...
PDF
TyAnn Osborn: A Visionary Leader Shaping Corporate Workforce Dynamics
PPTX
CTG - Business Update 2Q2025 & 6M2025.pptx
PDF
Nante Industrial Plug Factory: Engineering Quality for Modern Power Applications
PPTX
Project Management_ SMART Projects Class.pptx
PDF
Solaris Resources Presentation - Corporate August 2025.pdf
PDF
Environmental Law Communication: Strategies for Advocacy (www.kiu.ac.ug)
Slide gioi thieu VietinBank Quy 2 - 2025
1911 Gold Corporate Presentation Aug 2025.pdf
80 DE ÔN VÀO 10 NĂM 2023vhkkkjjhhhhjjjj
Daniels 2024 Inclusive, Sustainable Development
Robin Fischer: A Visionary Leader Making a Difference in Healthcare, One Day ...
Satish NS: Fostering Innovation and Sustainability: Haier India’s Customer-Ce...
Booking.com The Global AI Sentiment Report 2025
ICv2 White Paper - Gen Con Trade Day 2025
NEW - FEES STRUCTURES (01-july-2024).pdf
interschool scomp.pptxzdkjhdjvdjvdjdhjhieij
Board-Reporting-Package-by-Umbrex-5-23-23.pptx
TRAINNING, DEVELOPMENT AND APPRAISAL.pptx
Charisse Litchman: A Maverick Making Neurological Care More Accessible
NISM Series V-A MFD Workbook v December 2024.khhhjtgvwevoypdnew one must use ...
TyAnn Osborn: A Visionary Leader Shaping Corporate Workforce Dynamics
CTG - Business Update 2Q2025 & 6M2025.pptx
Nante Industrial Plug Factory: Engineering Quality for Modern Power Applications
Project Management_ SMART Projects Class.pptx
Solaris Resources Presentation - Corporate August 2025.pdf
Environmental Law Communication: Strategies for Advocacy (www.kiu.ac.ug)

IM02: Database Language

  • 1. ELEMENTARY TO INFORMATION MANAGEMENT IM02: Database Language Presented by Kelvin Chan
  • 2. Introduction • SQL is abbreviation for Structured Query Language • A Database Language that communicates with Relational Database • Can be divided into more specific language – DDL – DML – DCL – TCL
  • 3. DDL • DDL is abbreviation for Data Definition Language • Used to define the database structure or schema • CREATE - to create objects in the database • ALTER - alters the structure of the database • DROP - delete objects from the database • TRUNCATE - remove all records from a table • COMMENT - add comments to the data dictionary • RENAME - rename an object
  • 4. DML • DML is abbreviation for Data Manipulation Language • Used to manipulate data within schema objects • SELECT - retrieve data from the a database • INSERT - insert data into a table • UPDATE - updates existing data within a table • DELETE - deletes all records from a table, the space for the records remain • MERGE - UPSERT operation (Insert or Update) • CALL - call a Stored-Procedure
  • 5. DCL • DCL is abbreviation for Data Control Language • Used to define roles and permissions to access database • GRANT - gives user's access privileges to database • REVOKE - withdraw access privileges given with the GRANT command
  • 6. TCL • TCL is abbreviation for Transactional Control Language • Used to manage the changes made by DML statements • COMMIT - save work done ROLLBACK - restore database to original since the last COMMIT