SlideShare ist ein Scribd-Unternehmen logo
1 von 33
Database Connectivity
with MySqL
GROUP 4
M A R Y R O S E S A N O I R E N E J O Y
B A T I L L E R
S H E Z I E L R E N DO N S H E R YL P U G O Y
A C E V A R G AS J A S T I N E G A T D U L A
J E R I C H A A M A N J E N E VA P O J A DA S
M A R K D I V R E L A N D R E S J I R E L L E P A N A L I G A N
R O N A V I L L Q U I M S I N G M A R I A I S A BE L
B O R B O N
J O H N T H Y R O N C A P U R I H AN
Introduction to MySQL (Batiller)
What is a Database?
A database is a separate application that stores a
collection of data. Each database has one or more
distinct APIs for creating, accessing, managing,
searching and replicating the data it holds.
MySQL Database
MySQL is a fast, easy-to-use RDBMS being used
for many small and big businesses. MySQL is
developed, marketed and supported by MySQL
AB, which is a Swedish company.
An RDBMS is a type of database management
system (DBMS) that stores data in a row-based table
structure which connects related data elements.
RDBMS (Relational Database
Management System) (Rendon)
A Relational DataBase Management System
(RDBMS) is a software that −
 Enables you to implement a database with tables,
columns and indexes.
 Guarantees the Referential Integrity between rows of
various tables.
 Updates the indexes automatically.
 Interprets an SQL query and combines information
from various tables.
DataTypes (Quimsing)
Each column in a database table is required to have
a name and a data type.
It is a classification that specifies which type of value
a variable has and what type of mathematical,
relational or logical operations can be applied to it
without causing an error.
The data type is a guideline for SQL to understand
what type of data is expected inside of each column,
and it also identifies how SQL will interact with the
stored data.
Database Operation (Panaligan)
An operational database management system is
software that is designed to allow users to easily
define, modify, retrieve, and manage data in real-
time.
SQL statements are divided into two major
categories: data definition language (DDL) and
data manipulation language (DML).
Database Manipulation Language
(DML)
Represents a collection of programming languages
explicitly used to make changes to the database,
such as: CRUD operations to create, read, update
and delete data. Using INSERT, SELECT,
UPDATE, and DELETE commands.
INSERT (Pojadas)
INSERT: Place new rows of
data in the database.
SELECT
SELECT: Retrieve
rows of data.
UPDATE
UPDATE: Replace
existing values in the
database with new
values.
DELETE
DELETE: Delete rows of
data in the database.
SQL Commands (Andres)
SQL commands are the instructions used to
communicate with a database to perform tasks,
functions, and queries with data.
SQL commands can be used to search the
database and to do other functions like creating
tables, adding data to tables, modifying data, and
dropping tables.
SELECT and FROM
The Select part of
a query
determines which
columns of the
data to show in
the results.
CREATE
It creates a table in the
database. You can specify
the name of the table and
the columns that should be
in the table.
UPDATE (Sano)
To update a record in a
table you use the
Update statement.
DELETE
Is used to delete a record in a table.
INSERT
Is a way to insert
data into a table.
PHP Functions for MySQL
connectivity and operations (Capurihan)
PHP has a rich collection of built in functions for
manipulating MySQL databases.
PHP mysql_connect
The PHP mysql
connect function is
used to connect to a
MySQL database
server.
PHP mysql_select_db (Gatdula)
The
mysqli_select_db
function is used to
select a database.
PHP mysql_query
The mysqli_query function
is used to execute SQL
queries.
The function can be used
to execute the following
query types;
Insert
Select
Update
delete
JOIN (Borbon)
JOIN is an SQL clause used to query and access
data from multiple tables, based on logical
relationships between those tables.In other
words, JOINS indicate how SQL Server should
use data from one table to select the rows from
another table.
CROSS JOIN
The CROSS JOIN is used to generate a paired
combination of each row of the first table with
each row of the second table. This join type is
also known as cartesian join.
INNER JOIN (Vargas)
The INNER JOIN selects all rows from both
participating tables as long as there is a match
between the columns.
OUTER JOIN (Pugoy)
The SQL OUTER JOIN returns all rows from both the
participating tables which satisfy the join condition along
with rows which do not satisfy the join condition. The
SQL OUTER JOIN operator (+) is used only on one side
of the join condition only.
SELF JOIN (Aman)
A self join is a join in which a table is joined with
itself (which is also called Unary relationships),
especially when the table has a FOREIGN KEY
which references its own PRIMARY KEY. To join a
table itself means that each row of the table is
combined with itself and with every other row of
the table.
THANK
YOU !

Weitere ähnliche Inhalte

Ähnlich wie GROUP-4-Database-Connectivity-with-MySqL.pptx

DATABASE PRESENTATION
DATABASE PRESENTATIONDATABASE PRESENTATION
DATABASE PRESENTATIONSunnyRajput34
 
Relational Database Management System part II
Relational Database Management System part IIRelational Database Management System part II
Relational Database Management System part IIKavithaA19
 
SQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics CoveredSQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics CoveredDanish Mehraj
 
Relational Database Language.pptx
Relational Database Language.pptxRelational Database Language.pptx
Relational Database Language.pptxSheethal Aji Mani
 
RDBMS BY DANISH SHAFI MIR.pptx
RDBMS BY DANISH SHAFI MIR.pptxRDBMS BY DANISH SHAFI MIR.pptx
RDBMS BY DANISH SHAFI MIR.pptxTHEFPS
 
SQL interview questions by Jeetendra Mandal - part 2
SQL interview questions by Jeetendra Mandal - part 2SQL interview questions by Jeetendra Mandal - part 2
SQL interview questions by Jeetendra Mandal - part 2jeetendra mandal
 
SQL interview questions by jeetendra mandal - part 3
SQL interview questions by jeetendra mandal - part 3SQL interview questions by jeetendra mandal - part 3
SQL interview questions by jeetendra mandal - part 3jeetendra mandal
 
SQL_Introduction_Updated.pptx
SQL_Introduction_Updated.pptxSQL_Introduction_Updated.pptx
SQL_Introduction_Updated.pptxC3MohdArshAlam18
 
Database COMPLETE
Database COMPLETEDatabase COMPLETE
Database COMPLETEAbrar ali
 

Ähnlich wie GROUP-4-Database-Connectivity-with-MySqL.pptx (20)

RDBMS
RDBMSRDBMS
RDBMS
 
Introduction to SQL
Introduction to SQLIntroduction to SQL
Introduction to SQL
 
DATABASE PRESENTATION
DATABASE PRESENTATIONDATABASE PRESENTATION
DATABASE PRESENTATION
 
SQL
SQLSQL
SQL
 
Relational Database Management System part II
Relational Database Management System part IIRelational Database Management System part II
Relational Database Management System part II
 
Module02
Module02Module02
Module02
 
T-SQL Overview
T-SQL OverviewT-SQL Overview
T-SQL Overview
 
SQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics CoveredSQL Complete Tutorial. All Topics Covered
SQL Complete Tutorial. All Topics Covered
 
Relational Database Language.pptx
Relational Database Language.pptxRelational Database Language.pptx
Relational Database Language.pptx
 
SQL2.pptx
SQL2.pptxSQL2.pptx
SQL2.pptx
 
RDBMS BY DANISH SHAFI MIR.pptx
RDBMS BY DANISH SHAFI MIR.pptxRDBMS BY DANISH SHAFI MIR.pptx
RDBMS BY DANISH SHAFI MIR.pptx
 
SQL interview questions by Jeetendra Mandal - part 2
SQL interview questions by Jeetendra Mandal - part 2SQL interview questions by Jeetendra Mandal - part 2
SQL interview questions by Jeetendra Mandal - part 2
 
SQL interview questions by jeetendra mandal - part 3
SQL interview questions by jeetendra mandal - part 3SQL interview questions by jeetendra mandal - part 3
SQL interview questions by jeetendra mandal - part 3
 
SQL cheat sheet.pdf
SQL cheat sheet.pdfSQL cheat sheet.pdf
SQL cheat sheet.pdf
 
SQL ARPIT YADAV.pptx
SQL ARPIT YADAV.pptxSQL ARPIT YADAV.pptx
SQL ARPIT YADAV.pptx
 
SQL_Introduction_Updated.pptx
SQL_Introduction_Updated.pptxSQL_Introduction_Updated.pptx
SQL_Introduction_Updated.pptx
 
MSSQL_Book.pdf
MSSQL_Book.pdfMSSQL_Book.pdf
MSSQL_Book.pdf
 
Adbms
AdbmsAdbms
Adbms
 
Database COMPLETE
Database COMPLETEDatabase COMPLETE
Database COMPLETE
 
Oracle
OracleOracle
Oracle
 

Kürzlich hochgeladen

So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 

Kürzlich hochgeladen (20)

So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 

GROUP-4-Database-Connectivity-with-MySqL.pptx

  • 1. Database Connectivity with MySqL GROUP 4 M A R Y R O S E S A N O I R E N E J O Y B A T I L L E R S H E Z I E L R E N DO N S H E R YL P U G O Y A C E V A R G AS J A S T I N E G A T D U L A J E R I C H A A M A N J E N E VA P O J A DA S M A R K D I V R E L A N D R E S J I R E L L E P A N A L I G A N R O N A V I L L Q U I M S I N G M A R I A I S A BE L B O R B O N J O H N T H Y R O N C A P U R I H AN
  • 2. Introduction to MySQL (Batiller) What is a Database? A database is a separate application that stores a collection of data. Each database has one or more distinct APIs for creating, accessing, managing, searching and replicating the data it holds.
  • 3. MySQL Database MySQL is a fast, easy-to-use RDBMS being used for many small and big businesses. MySQL is developed, marketed and supported by MySQL AB, which is a Swedish company.
  • 4. An RDBMS is a type of database management system (DBMS) that stores data in a row-based table structure which connects related data elements. RDBMS (Relational Database Management System) (Rendon)
  • 5. A Relational DataBase Management System (RDBMS) is a software that −  Enables you to implement a database with tables, columns and indexes.  Guarantees the Referential Integrity between rows of various tables.  Updates the indexes automatically.  Interprets an SQL query and combines information from various tables.
  • 6. DataTypes (Quimsing) Each column in a database table is required to have a name and a data type. It is a classification that specifies which type of value a variable has and what type of mathematical, relational or logical operations can be applied to it without causing an error. The data type is a guideline for SQL to understand what type of data is expected inside of each column, and it also identifies how SQL will interact with the stored data.
  • 7.
  • 8. Database Operation (Panaligan) An operational database management system is software that is designed to allow users to easily define, modify, retrieve, and manage data in real- time. SQL statements are divided into two major categories: data definition language (DDL) and data manipulation language (DML).
  • 9. Database Manipulation Language (DML) Represents a collection of programming languages explicitly used to make changes to the database, such as: CRUD operations to create, read, update and delete data. Using INSERT, SELECT, UPDATE, and DELETE commands.
  • 10. INSERT (Pojadas) INSERT: Place new rows of data in the database.
  • 12. UPDATE UPDATE: Replace existing values in the database with new values.
  • 13. DELETE DELETE: Delete rows of data in the database.
  • 14. SQL Commands (Andres) SQL commands are the instructions used to communicate with a database to perform tasks, functions, and queries with data. SQL commands can be used to search the database and to do other functions like creating tables, adding data to tables, modifying data, and dropping tables.
  • 15. SELECT and FROM The Select part of a query determines which columns of the data to show in the results.
  • 16. CREATE It creates a table in the database. You can specify the name of the table and the columns that should be in the table.
  • 17. UPDATE (Sano) To update a record in a table you use the Update statement.
  • 18. DELETE Is used to delete a record in a table.
  • 19. INSERT Is a way to insert data into a table.
  • 20. PHP Functions for MySQL connectivity and operations (Capurihan) PHP has a rich collection of built in functions for manipulating MySQL databases.
  • 21. PHP mysql_connect The PHP mysql connect function is used to connect to a MySQL database server.
  • 23. PHP mysql_query The mysqli_query function is used to execute SQL queries. The function can be used to execute the following query types; Insert Select Update delete
  • 24. JOIN (Borbon) JOIN is an SQL clause used to query and access data from multiple tables, based on logical relationships between those tables.In other words, JOINS indicate how SQL Server should use data from one table to select the rows from another table.
  • 25. CROSS JOIN The CROSS JOIN is used to generate a paired combination of each row of the first table with each row of the second table. This join type is also known as cartesian join.
  • 26.
  • 27. INNER JOIN (Vargas) The INNER JOIN selects all rows from both participating tables as long as there is a match between the columns.
  • 28.
  • 29. OUTER JOIN (Pugoy) The SQL OUTER JOIN returns all rows from both the participating tables which satisfy the join condition along with rows which do not satisfy the join condition. The SQL OUTER JOIN operator (+) is used only on one side of the join condition only.
  • 30.
  • 31. SELF JOIN (Aman) A self join is a join in which a table is joined with itself (which is also called Unary relationships), especially when the table has a FOREIGN KEY which references its own PRIMARY KEY. To join a table itself means that each row of the table is combined with itself and with every other row of the table.
  • 32.