SlideShare a Scribd company logo
Joins and different types of joins dani
Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt .
Ltd
JOINS
AND DIFFERENT TYPES OF JOINS
Mohammed Danish
dani3250@gmail.com
www.facebook.com/dani325
0
twitter.com/DANI3250
in.linkedin.com/in/mohamm
eddanish
9895825222
Joins
• SQL joins are used to query data from two
or more tables, based on a relationship
between certain columns in these tables.
Different SQL Joins
• JOIN: Return rows when there is at least one
match in both tables
• LEFT JOIN: Return all rows from the left table,
even if there are no matches in the right table
• RIGHT JOIN: Return all rows from the right
table, even if there are no matches in the left
table
• FULL JOIN: Return rows when there is a match
in one of the tables
Joins and different types of joins dani
Example
SQL LEFT JOIN
• The LEFT JOIN returns all rows from the left
table(table_name1),even if there are no matches in
the right table(table_name2)
Example
SQL RIGHT JOIN
• The RIGHT JOIN return all rows from the right
table(table_name2),even if there are no
matches in the left table(table_name1).
Joins and different types of joins dani
SQL FULL JOIN
• The FULL JOIN returns rows when there is a
match in one of the tables
Joins and different types of joins dani
If this presentation helped you, please visit our
page facebook.com/baabtra and like it.
Thanks in advance.
www.baabtra.com | www.massbaab.com |www.baabte.com
Contact Us
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550
Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com
THANKS

More Related Content

PPTX
Excel 2013 illustrated unit b
PPTX
Data Redundancy & Update Anomalies
PPTX
Dbms anomalies
PPTX
Call Referencing - R.D.Sivakumar
PPTX
Week2 excel
PPTX
Persentation of SAD 2
Excel 2013 illustrated unit b
Data Redundancy & Update Anomalies
Dbms anomalies
Call Referencing - R.D.Sivakumar
Week2 excel
Persentation of SAD 2

What's hot (11)

PPT
Excel 2007 Unit B
PPT
Chapter 2 part 1(Database System)
PPT
Sql join
PPT
Types Of Join In Sql Server - Join With Example In Sql Server
PDF
Sample Excel 2013 Advanced Essentials
PPTX
OrACLE RELATIONAL
DOC
SQL Joins
PDF
Spreadsheet Package
PPT
Excel Excellence (Microsoft Excel training that "sticks"): Macros
PPTX
Joins And Its Types
PPTX
Excel 2007 Unit B
Chapter 2 part 1(Database System)
Sql join
Types Of Join In Sql Server - Join With Example In Sql Server
Sample Excel 2013 Advanced Essentials
OrACLE RELATIONAL
SQL Joins
Spreadsheet Package
Excel Excellence (Microsoft Excel training that "sticks"): Macros
Joins And Its Types
Ad
Ad

Similar to Joins and different types of joins dani (20)

PDF
SQL JOINS
PPTX
PPTX
Day-2 SQL Theory_V1.pptx
PPTX
Sql joins
PPT
Views, Triggers, Functions, Stored Procedures, Indexing and Joins
PPTX
Statements,joins and operators in sql by thanveer danish melayi(1)
PPTX
Querying_with_T-SQL_-_03 (1).pptx
PPTX
Querying_with_T-SQL_-_03.pptx
PPTX
20190310 - SQL Course - JOIN
PPTX
Sql joins final
PPT
Join sql
PPTX
SQL Joins & Sub Queries class number 697
PDF
SQL dabatase interveiw pdf for interveiw preparation
PPTX
Aggregate functions in SQL.pptx
PPTX
SQL Server Learning Drive
PPTX
Aggregate functions in SQL.pptx
SQL JOINS
Day-2 SQL Theory_V1.pptx
Sql joins
Views, Triggers, Functions, Stored Procedures, Indexing and Joins
Statements,joins and operators in sql by thanveer danish melayi(1)
Querying_with_T-SQL_-_03 (1).pptx
Querying_with_T-SQL_-_03.pptx
20190310 - SQL Course - JOIN
Sql joins final
Join sql
SQL Joins & Sub Queries class number 697
SQL dabatase interveiw pdf for interveiw preparation
Aggregate functions in SQL.pptx
SQL Server Learning Drive
Aggregate functions in SQL.pptx

More from baabtra.com - No. 1 supplier of quality freshers (20)

PPTX
Agile methodology and scrum development
PDF
Baabtra.com programming at school
PDF
99LMS for Enterprises - LMS that you will love
PPTX
Chapter 6 database normalisation
PPTX
Chapter 5 transactions and dcl statements
PPTX
Chapter 4 functions, views, indexing
PPTX
PPTX
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
PPTX
Chapter 1 introduction to sql server
PPTX
Chapter 1 introduction to sql server
Agile methodology and scrum development
Baabtra.com programming at school
99LMS for Enterprises - LMS that you will love
Chapter 6 database normalisation
Chapter 5 transactions and dcl statements
Chapter 4 functions, views, indexing
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
Chapter 1 introduction to sql server
Chapter 1 introduction to sql server

Recently uploaded (20)

PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
cuic standard and advanced reporting.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Encapsulation theory and applications.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Programs and apps: productivity, graphics, security and other tools
“AI and Expert System Decision Support & Business Intelligence Systems”
MYSQL Presentation for SQL database connectivity
20250228 LYD VKU AI Blended-Learning.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
gpt5_lecture_notes_comprehensive_20250812015547.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Network Security Unit 5.pdf for BCA BBA.
cuic standard and advanced reporting.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Encapsulation theory and applications.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Encapsulation_ Review paper, used for researhc scholars
Reach Out and Touch Someone: Haptics and Empathic Computing
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Building Integrated photovoltaic BIPV_UPV.pdf

Joins and different types of joins dani

  • 2. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  • 3. JOINS AND DIFFERENT TYPES OF JOINS Mohammed Danish dani3250@gmail.com www.facebook.com/dani325 0 twitter.com/DANI3250 in.linkedin.com/in/mohamm eddanish 9895825222
  • 4. Joins • SQL joins are used to query data from two or more tables, based on a relationship between certain columns in these tables.
  • 5. Different SQL Joins • JOIN: Return rows when there is at least one match in both tables • LEFT JOIN: Return all rows from the left table, even if there are no matches in the right table • RIGHT JOIN: Return all rows from the right table, even if there are no matches in the left table • FULL JOIN: Return rows when there is a match in one of the tables
  • 8. SQL LEFT JOIN • The LEFT JOIN returns all rows from the left table(table_name1),even if there are no matches in the right table(table_name2)
  • 10. SQL RIGHT JOIN • The RIGHT JOIN return all rows from the right table(table_name2),even if there are no matches in the left table(table_name1).
  • 12. SQL FULL JOIN • The FULL JOIN returns rows when there is a match in one of the tables
  • 14. If this presentation helped you, please visit our page facebook.com/baabtra and like it. Thanks in advance. www.baabtra.com | www.massbaab.com |www.baabte.com
  • 15. Contact Us Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com