Oracle-3: Multi-table query

1. Equijoin query
write picture description here

2. Unequal value join
write picture description here

3. Outer connection: You can query data that does not meet the connection conditions ※: Pay attention to the difference
write picture description here

write picture description here

4. Self-inquiry
write picture description here

5. Inner join only returns data that satisfies the connection conditions
write picture description here

6. Left join returns the data that satisfies the join condition and the data that does not satisfy the condition on the left
write picture description here

7. Right join Returns the data that satisfies the join condition and the data that does not satisfy the condition on the right
write picture description here

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324832402&siteId=291194637