## Notes
<!-- Table with .md and .pdf links -->
| Name                         | .md                                       | .pdf                                       |
| ---------------------------- | ----------------------------------------- | ------------------------------------------ |
| Database Fundamentals        | [link](notes/01-database-fundamentals.md) | [link](notes/01-database-fundamentals.pdf) |
| Data Integrity & ER Diagrams | [link](notes/02-integrity-er-diagram.md)  | [link](notes/02-integrity-er-diagram.pdf)  |
| Data Normalisation and ACID  | [link](notes/03-normalisation-acid.md)    | [link](notes/03-normalisation-acid.pdf)    |


## Assignments

### ER Diagram
Download the ER diagram from [here](media/student-er.drawio) and import it into [draw.io](https://www.draw.io/).

* Add the `mentor` entity
* Modify `batch` to add more attributes
* Add relationships between the `mentor` and `batch` entities. A mentor can be assigned to multiple batches and a batch can have multiple mentors.


## RDBMS
* [MySQL](https://www.mysql.com/)
* [PostgreSQL](https://www.postgresql.org/)
* [SQLite](https://www.sqlite.org/)

## SQL clients
* [TablePlus](https://www.tableplus.com/)
* [MySQL Workbench](https://www.mysql.com/products/workbench/)

## Online Playgrounds
* [SQL Fiddle](http://sqlfiddle.com/)

## Links
* [Awesome database learning](https://github.com/pingcap/awesome-database-learning)
