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:
@@ -576,10 +576,15 @@ There are different types of joins available in SQL −
|
|||||||
table2: Second table
|
table2: Second table
|
||||||
matching_column: Column common to both the tables.
|
matching_column: Column common to both the tables.
|
||||||
|
|
||||||
|
|
||||||
## 5) SELF JOIN
|
## 5) SELF JOIN
|
||||||
|
|
||||||
|
SELECT a.coulmn1 , b.column2
|
||||||
|
FROM table_name a, table_name b
|
||||||
|
WHERE some_condition;
|
||||||
|
|
||||||
|
table_name: Name of the table.
|
||||||
|
some_condition: Condition for selecting the rows.
|
||||||
|
|
||||||
## 6) CARTESIAN JOIN
|
## 6) CARTESIAN JOIN
|
||||||
|
|
||||||
SELECT table1.column1 , table1.column2, table2.column1...
|
SELECT table1.column1 , table1.column2, table2.column1...
|
||||||
|
|||||||
Reference in New Issue
Block a user