mirror of
https://github.com/gowthamrajk/SQL-Tutorials.git
synced 2026-04-30 22:13:56 +07:00
Update README.md
This commit is contained in:
@@ -542,4 +542,15 @@ There are different types of joins available in SQL −
|
|||||||
|
|
||||||
## 2) LEFT JOIN
|
## 2) LEFT JOIN
|
||||||
|
|
||||||
|
SELECT table1.column1,table1.column2,table2.column1,....
|
||||||
|
FROM table1
|
||||||
|
LEFT JOIN table2
|
||||||
|
ON table1.matching_column = table2.matching_column;
|
||||||
|
|
||||||
|
|
||||||
|
table1: First table.
|
||||||
|
table2: Second table
|
||||||
|
matching_column: Column common to both the tables.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user