# Week 1

In this session, trainees will be introduced to databases, including why we use them, how data is modeled, and how to interact with a relational database using SQL.

## Learning Goals

See [this module's learning goals](/course-content/foundation/databases.md#learning-goals).

## Main Topics

* **What is a database?** Why we use databases, real-life data models, and the role of databases in software systems.
* **Relational data terminology:** Table, row, column, primary key, foreign key.
* **Schemas and entities:** How to design and understand simple schemas.
* **Basic SQL operations:**
  * SELECT: Retrieving data
  * INSERT: Adding data
  * UPDATE: Modifying data
  * DELETE: Removing data
* **Filtering and sorting:** WHERE, LIKE, ORDER BY, LIMIT


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://program.hackyourfuture.dk/course-content/foundation/databases/week1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
