mirror of
https://github.com/robindhole/fundamentals.git
synced 2025-03-15 16:50:10 +00:00
Update 05-sql-primer.md (#2)
This commit is contained in:
parent
5d5b56d90d
commit
f41736d40e
@ -211,5 +211,5 @@ 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;
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user