mirror of
https://github.com/robindhole/fundamentals.git
synced 2025-03-15 23:19:56 +00:00
Update 06-sql-joins-aggregation.md (#3)
This commit is contained in:
parent
f41736d40e
commit
b99e7fd973
@ -33,7 +33,7 @@ For example, we want to get the batch names of all the students along with their
|
||||
This can be achieved by using the following SQL query:
|
||||
|
||||
```sql
|
||||
SELECT s.first_name, s.last_name, b.batch_name FROM students s JOIN batches ON s.batch_id = b.id;
|
||||
SELECT s.first_name, s.last_name, b.batch_name FROM students s JOIN batches b ON s.batch_id = b.id;
|
||||
```
|
||||
|
||||
### Left Outer Join
|
||||
|
Loading…
x
Reference in New Issue
Block a user