際際滷

際際滷Share a Scribd company logo
SQL : Day 1
息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
Contents
 Database Management System (DBMS) - Definition and importance
 Introduction to Structured Query Language (SQL)
息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
SQL: Structured Query Language
 SQL (Structured Query Language): Standard language for
interacting with relational databases
 Key characteristics:
 Declarative language
 Uses English-like syntax
 Supports data definition, manipulation, and control
息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
SQL: Basics
 SQL Statements:
 Data Definition Language (DDL): CREATE, ALTER, DROP
 Data Manipulation Language (DML): SELECT, INSERT, UPDATE, DELETE
 Data Control Language (DCL): GRANT, REVOKE
 SQL Queries:
 SELECT statement: Retrieves data from a database table
 Example: SELECT * FROM Customers WHERE Country = 'USA';
SQL: SQL Database Operations
Creating Database and Tables:
 CREATE DATABASE database_name;
 CREATE TABLE table_name (column1 datatype, column2 datatype, ...);
Inserting Data:
 INSERT INTO table_name (column1, column2, ...) VALUES (value1,
value2, ...);
Updating Data:
 UPDATE table_name SET column_name = new_value WHERE
condition;
Deleting Data:
 DELETE FROM table_name WHERE condition;
SQL: SQL Database Operations
Joins:
Combine rows from multiple tables based on related columns
Types: INNER JOIN, LEFT JOIN, RIGHT JOIN, FULL JOIN
Aggregation Functions:
Perform calculations on groups of rows
Examples: SUM, AVG, COUNT, MAX, MIN
Constraints:
Rules applied to columns to enforce data integrity
Examples: PRIMARY KEY, FOREIGN KEY, NOT NULL
Summary
 Database Management System (DBMS) is essential for efficient data
management.
 SQL is a powerful language for interacting with relational databases.
 Understanding DBMS and SQL enables effective data storage, retrieval, and
manipulation.
Questions Any?
Day 1 SQL.pptx
Ad

Recommended

SQL_NOTES.pdf
SQL_NOTES.pdf
AnshumanDwivedi14
Database Systems - Introduction to SQL (Chapter 3/1)
Database Systems - Introduction to SQL (Chapter 3/1)
Vidyasagar Mundroy
Advanced Database Systems - Presentation 1 with quiz.pptx
Advanced Database Systems - Presentation 1 with quiz.pptx
EllenGracePorras
Pl sql content
Pl sql content
MargaretMaryT
lovely
lovely
love0323
sdfsdfsdsdfsdfsdfsdfsdfsfdsfsdfsdfql.pdf
sdfsdfsdsdfsdfsdfsdfsdfsfdsfsdfsdfql.pdf
1mikhail2015
SQL basics.pptx
SQL basics.pptx
ZakReeceJames
Database Languges
Database Languges
Ahmed Rodeni
BASIC_OF_DATABASE_PPT__new[1].pptx
BASIC_OF_DATABASE_PPT__new[1].pptx
NiyatiMandaliya
Using Basic Structured Query Language lo1.pptx
Using Basic Structured Query Language lo1.pptx
TsedaleBayabil
data base programming chapter1 26 slides
data base programming chapter1 26 slides
nights1988
Lecture - MY-SQL/ SQL Commands - DDL.pptx
Lecture - MY-SQL/ SQL Commands - DDL.pptx
umershah0263
Database management and System Development ppt
Database management and System Development ppt
michaelkasule
SQL for interview
SQL for interview
Aditya Kumar Tripathy
SQL SERVER Training in Pune 際際滷s
SQL SERVER Training in Pune 際際滷s
enosislearningcom
Module02
Module02
Sridhar P
SQL_Introduction_PresentatioFDFdfFfn.pptx
SQL_Introduction_PresentatioFDFdfFfn.pptx
dejiw91154
Data base
Data base
Girish Gowda
unit-ii.pptx
unit-ii.pptx
NilamHonmane
xjtrutdctrd5454drxxresersestryugyufy6rythgfytfyt
xjtrutdctrd5454drxxresersestryugyufy6rythgfytfyt
WrushabhShirsat3
SQL-Server Database.pdf
SQL-Server Database.pdf
ShehryarSH1
SQL Server Developer Course Online Training
SQL Server Developer Course Online Training
SequelGate
sql ppt.pptx
sql ppt.pptx
ArunT58
Unit 10 - Realtional Databases.pptxxxxxxxxx
Unit 10 - Realtional Databases.pptxxxxxxxxx
vinothkumarg29
THE DATABASE LANGUAGE SQL (C董 s畛 d畛 li畛u).pptx
THE DATABASE LANGUAGE SQL (C董 s畛 d畛 li畛u).pptx
ssuser753fad1
SQL for Data Analytics: Mastering Queries and Reporting with Training
SQL for Data Analytics: Mastering Queries and Reporting with Training
Institute
SQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics Covered
Danish Mehraj
DBMS unit-3.pdf
DBMS unit-3.pdf
Prof. Dr. K. Adisesha
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software

More Related Content

Similar to Day 1 SQL.pptx (20)

BASIC_OF_DATABASE_PPT__new[1].pptx
BASIC_OF_DATABASE_PPT__new[1].pptx
NiyatiMandaliya
Using Basic Structured Query Language lo1.pptx
Using Basic Structured Query Language lo1.pptx
TsedaleBayabil
data base programming chapter1 26 slides
data base programming chapter1 26 slides
nights1988
Lecture - MY-SQL/ SQL Commands - DDL.pptx
Lecture - MY-SQL/ SQL Commands - DDL.pptx
umershah0263
Database management and System Development ppt
Database management and System Development ppt
michaelkasule
SQL for interview
SQL for interview
Aditya Kumar Tripathy
SQL SERVER Training in Pune 際際滷s
SQL SERVER Training in Pune 際際滷s
enosislearningcom
Module02
Module02
Sridhar P
SQL_Introduction_PresentatioFDFdfFfn.pptx
SQL_Introduction_PresentatioFDFdfFfn.pptx
dejiw91154
Data base
Data base
Girish Gowda
unit-ii.pptx
unit-ii.pptx
NilamHonmane
xjtrutdctrd5454drxxresersestryugyufy6rythgfytfyt
xjtrutdctrd5454drxxresersestryugyufy6rythgfytfyt
WrushabhShirsat3
SQL-Server Database.pdf
SQL-Server Database.pdf
ShehryarSH1
SQL Server Developer Course Online Training
SQL Server Developer Course Online Training
SequelGate
sql ppt.pptx
sql ppt.pptx
ArunT58
Unit 10 - Realtional Databases.pptxxxxxxxxx
Unit 10 - Realtional Databases.pptxxxxxxxxx
vinothkumarg29
THE DATABASE LANGUAGE SQL (C董 s畛 d畛 li畛u).pptx
THE DATABASE LANGUAGE SQL (C董 s畛 d畛 li畛u).pptx
ssuser753fad1
SQL for Data Analytics: Mastering Queries and Reporting with Training
SQL for Data Analytics: Mastering Queries and Reporting with Training
Institute
SQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics Covered
Danish Mehraj
DBMS unit-3.pdf
DBMS unit-3.pdf
Prof. Dr. K. Adisesha
BASIC_OF_DATABASE_PPT__new[1].pptx
BASIC_OF_DATABASE_PPT__new[1].pptx
NiyatiMandaliya
Using Basic Structured Query Language lo1.pptx
Using Basic Structured Query Language lo1.pptx
TsedaleBayabil
data base programming chapter1 26 slides
data base programming chapter1 26 slides
nights1988
Lecture - MY-SQL/ SQL Commands - DDL.pptx
Lecture - MY-SQL/ SQL Commands - DDL.pptx
umershah0263
Database management and System Development ppt
Database management and System Development ppt
michaelkasule
SQL SERVER Training in Pune 際際滷s
SQL SERVER Training in Pune 際際滷s
enosislearningcom
SQL_Introduction_PresentatioFDFdfFfn.pptx
SQL_Introduction_PresentatioFDFdfFfn.pptx
dejiw91154
xjtrutdctrd5454drxxresersestryugyufy6rythgfytfyt
xjtrutdctrd5454drxxresersestryugyufy6rythgfytfyt
WrushabhShirsat3
SQL-Server Database.pdf
SQL-Server Database.pdf
ShehryarSH1
SQL Server Developer Course Online Training
SQL Server Developer Course Online Training
SequelGate
sql ppt.pptx
sql ppt.pptx
ArunT58
Unit 10 - Realtional Databases.pptxxxxxxxxx
Unit 10 - Realtional Databases.pptxxxxxxxxx
vinothkumarg29
THE DATABASE LANGUAGE SQL (C董 s畛 d畛 li畛u).pptx
THE DATABASE LANGUAGE SQL (C董 s畛 d畛 li畛u).pptx
ssuser753fad1
SQL for Data Analytics: Mastering Queries and Reporting with Training
SQL for Data Analytics: Mastering Queries and Reporting with Training
Institute
SQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics Covered
Danish Mehraj

Recently uploaded (20)

ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Priyanka Aash
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
Safe Software
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
OpenPOWER Foundation & Open-Source Core Innovations
OpenPOWER Foundation & Open-Source Core Innovations
IBM
Daily Lesson Log MATATAG ICT TEchnology 8
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
AI vs Human Writing: Can You Tell the Difference?
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
You are not excused! How to avoid security blind spots on the way to production
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
OWASP Barcelona 2025 Threat Model Library
OWASP Barcelona 2025 Threat Model Library
PetraVukmirovic
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
Fwdays
Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
digitaljignect
Quantum AI: Where Impossible Becomes Probable
Quantum AI: Where Impossible Becomes Probable
Saikat Basu
Mastering AI Workflows with FME by Mark Doring
Mastering AI Workflows with FME by Mark Doring
Safe Software
Securing AI - There Is No Try, Only Do!.pdf
Securing AI - There Is No Try, Only Do!.pdf
Priyanka Aash
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
Wenn alles versagt - IBM Tape sch端tzt, was z辰hlt! Und besonders mit dem neust...
Wenn alles versagt - IBM Tape sch端tzt, was z辰hlt! Und besonders mit dem neust...
Josef Weingand
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
ReSTIR [DI]: Spatiotemporal reservoir resampling for real-time ray tracing ...
revolcs10
Connecting Data and Intelligence: The Role of FME in Machine Learning
Connecting Data and Intelligence: The Role of FME in Machine Learning
Safe Software
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Coordinated Disclosure for ML - What's Different and What's the Same.pdf
Priyanka Aash
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
AI Agents and FME: A How-to Guide on Generating Synthetic Metadata
Safe Software
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC and Open Hackathons Monthly Highlights June 2025
OpenACC
OpenPOWER Foundation & Open-Source Core Innovations
OpenPOWER Foundation & Open-Source Core Innovations
IBM
Daily Lesson Log MATATAG ICT TEchnology 8
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
AI vs Human Writing: Can You Tell the Difference?
AI vs Human Writing: Can You Tell the Difference?
Shashi Sathyanarayana, Ph.D
You are not excused! How to avoid security blind spots on the way to production
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
OWASP Barcelona 2025 Threat Model Library
OWASP Barcelona 2025 Threat Model Library
PetraVukmirovic
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
GenAI Opportunities and Challenges - Where 370 Enterprises Are Focusing Now.pdf
Priyanka Aash
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
Fwdays
Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
digitaljignect
Quantum AI: Where Impossible Becomes Probable
Quantum AI: Where Impossible Becomes Probable
Saikat Basu
Mastering AI Workflows with FME by Mark Doring
Mastering AI Workflows with FME by Mark Doring
Safe Software
Securing AI - There Is No Try, Only Do!.pdf
Securing AI - There Is No Try, Only Do!.pdf
Priyanka Aash
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
Wenn alles versagt - IBM Tape sch端tzt, was z辰hlt! Und besonders mit dem neust...
Wenn alles versagt - IBM Tape sch端tzt, was z辰hlt! Und besonders mit dem neust...
Josef Weingand
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
Ad

Day 1 SQL.pptx

  • 2. 息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved. Contents Database Management System (DBMS) - Definition and importance Introduction to Structured Query Language (SQL)
  • 3. 息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
  • 4. 息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
  • 5. 息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
  • 6. 息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
  • 7. 息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
  • 8. 息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
  • 9. 息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
  • 10. 息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
  • 11. 息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved.
  • 12. 息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved. SQL: Structured Query Language SQL (Structured Query Language): Standard language for interacting with relational databases Key characteristics: Declarative language Uses English-like syntax Supports data definition, manipulation, and control
  • 13. 息 Brain4ce Education Solutions Pvt. Ltd. All rights reserved. SQL: Basics SQL Statements: Data Definition Language (DDL): CREATE, ALTER, DROP Data Manipulation Language (DML): SELECT, INSERT, UPDATE, DELETE Data Control Language (DCL): GRANT, REVOKE SQL Queries: SELECT statement: Retrieves data from a database table Example: SELECT * FROM Customers WHERE Country = 'USA';
  • 14. SQL: SQL Database Operations Creating Database and Tables: CREATE DATABASE database_name; CREATE TABLE table_name (column1 datatype, column2 datatype, ...); Inserting Data: INSERT INTO table_name (column1, column2, ...) VALUES (value1, value2, ...); Updating Data: UPDATE table_name SET column_name = new_value WHERE condition; Deleting Data: DELETE FROM table_name WHERE condition;
  • 15. SQL: SQL Database Operations Joins: Combine rows from multiple tables based on related columns Types: INNER JOIN, LEFT JOIN, RIGHT JOIN, FULL JOIN Aggregation Functions: Perform calculations on groups of rows Examples: SUM, AVG, COUNT, MAX, MIN Constraints: Rules applied to columns to enforce data integrity Examples: PRIMARY KEY, FOREIGN KEY, NOT NULL
  • 16. Summary Database Management System (DBMS) is essential for efficient data management. SQL is a powerful language for interacting with relational databases. Understanding DBMS and SQL enables effective data storage, retrieval, and manipulation.