Update sql_2.md

main
Matt Huntington 2 years ago committed by GitHub
parent 01173e9c4d
commit c4df771228
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -167,7 +167,7 @@ This is similar to `LEFT JOIN` but it displays any rows from the `companies` tab
```sql ```sql
SELECT * FROM people RIGHT JOIN companies ON people.employer_id = companies.id ``` SELECT * FROM people RIGHT JOIN companies ON people.employer_id = companies.id ```
```
This is basically a combination of `LEFT JOIN` and `RIGHT JOIN`. Display missing rows from *both* tables This is basically a combination of `LEFT JOIN` and `RIGHT JOIN`. Display missing rows from *both* tables
```sql ```sql

Loading…
Cancel
Save