SQL introduction courses – AMSE 2025/26
SQL introduction course, first part of the UE "Programming for data science", 5 sessions <-> 5 notebooks.
- definitions and principles of relational models
- entities relationships diagram (ERD)
- database management systems (DBMS)
- introduction to SQLite
- SELECT … FROM, DISTINCT, LIMIT, etc.
- COUNT(), SUM(), AVG(), etc.
- WHERE, BETWEEN, LIKE, IS NOT, etc.
- GROUP BY, ORDER BY, HAVING, etc.
- PRAGMAS
- CREATE TABLE, INSERT INTO, VALUES, etc.
- import .csv into DB, pandas.DataFrame.to_sql(), pandas.read_sql(), etc.
- UPDATE, DELETE, DROP
- UNION
- string functions
- datetime functions
- joins
- CASE WHEN, WITH,
- windows functions, OVER
Empty notebook (with questions)
- Exercise a : orders (+ some notes about
ALTER TABLEand CRUD) - Exercise b : hospitals (recap). Correction.