# Databases

This module is part of the Backend specialism course and goes deep on databases, including SQL topics like CRUD, relationships and other advanced concepts like transactions, security, and deployment. It also covers different types of databases and their use cases.

| Week | Topic                                                                                                                                                  | Preparation                                                                                                                          | Lesson Plan                                                                                                                                          | Assignment                                                                                                                         |
| ---- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| 1.   | [Data Modeling and Relational Fundamentals](https://program.hackyourfuture.dk/~/revisions/n2RGk5og1pvUUWu5OSlj/course-content/backend/databases/week1) | [Preparation](https://program.hackyourfuture.dk/~/revisions/n2RGk5og1pvUUWu5OSlj/course-content/backend/databases/week1/preparation) | [Session Plan](https://program.hackyourfuture.dk/~/revisions/n2RGk5og1pvUUWu5OSlj/course-content/backend/databases/week1/session-plan) (for mentors) | [Assignment](https://program.hackyourfuture.dk/~/revisions/n2RGk5og1pvUUWu5OSlj/course-content/backend/databases/week1/assignment) |
| 2.   | [Database Security and Transactions](https://program.hackyourfuture.dk/~/revisions/n2RGk5og1pvUUWu5OSlj/course-content/backend/databases/week2)        | [Preparation](https://program.hackyourfuture.dk/~/revisions/n2RGk5og1pvUUWu5OSlj/course-content/backend/databases/week2/preparation) | [Session Plan](https://program.hackyourfuture.dk/~/revisions/n2RGk5og1pvUUWu5OSlj/course-content/backend/databases/week2/session-plan) (for mentors) | [Assignment](https://program.hackyourfuture.dk/~/revisions/n2RGk5og1pvUUWu5OSlj/course-content/backend/databases/week2/assignment) |

## Learning Goals

By the end of this module, you will be able to:

* [ ] Explain the purpose of databases in web applications
* [ ] Perform basic CRUD operations using SQL
* [ ] Understand and implement relationships between tables in SQL
* [ ] Write more complex SQL queries involving joins and aggregations
* [ ] Understand the use cases for different types of databases (SQL, NoSQL, Key-Value, Graph)
* [ ] Communicate the importance of database security
* [ ] Understand the most common security threats and how to mitigate them with best practices

## Prerequisites

You should have completed or understand the learning goals in the following modules before proceeding:

* [ ] [Foundation - Databases](https://program.hackyourfuture.dk/~/revisions/n2RGk5og1pvUUWu5OSlj/course-content/foundation/databases)
