Rex Chiang
Rex Chiang

Jan 24, 2022

·
2 min read

[MySQL] JOIN introduction

Tables for Examples

Table1
Table2

INNER JOIN

  • MySQL JOIN is equal to INNER JOIN.
Visual Representation of SQL Joins, C.L. Moffatt

LEFT JOIN

Visual Representation of SQL Joins, C.L. Moffatt

RIGHT JOIN

Visual Representation of SQL Joins, C.L. Moffatt

FULL JOIN

  • MySQL doesn’t support FULL JOIN.
  • We can use UNION to combine LEFT JOIN and RIGHT JOIN.
Visual Representation of SQL Joins, C.L. Moffatt
My SQL
Database
Join

--

--

More from Rex Chiang

Recommended from Medium

Ashley Gelwix

Ashley Gelwix

Use of the Fading Model with LTE using the ns-3 Network Simulator

Eric Bach

Eric Bach

Distributed microservices with Event Sourcing and CQRS

Ken

Ken

in

IT Wonders Web

Build a locally trusted HTTPs server with Golang & mkcert in 20 mins

Appstec Technology

Appstec Technology

Why Choose Oracle ERP Cloud Applications? 7 Reasons, Client Reviewers

Aarushi

Aarushi

3 Cool Visual Studio Code Extensions

ThinkUp

ThinkUp

Implementation of the Studio Methodology for the development of applications

Two women, with their backs turned, placing post its on a glass wall.
Anna Kim

Anna Kim

How to use useful library STL in C++ : Basic container, iterator and algorithm

Alex Klos

Alex Klos

What and why subgraphs are most important for Web3 ?

AboutHelpTermsPrivacy


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Get unlimited access
Rex Chiang

Rex Chiang

7 Followers

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech