hero-image

Teaching database courses at the Department of Computer Science

Database Systems I

Actual info

  • Final test, December 13, 2023: test_20231213a.pdf, test_20231213b.pdf
  • Welcome to the new academic year
  • The repair test from SELECT queries will be 21.11.2023 at 12:30 in the classroom EB113.
  • The repair test from DML/DDL commands will be 13.12.2023 at 16:00 in the classroom EB207.

Summary of main documents

Online Tests

You have to pass two tests which will take place directly on a computer during an exercise. The first test will be focused on SELECT queries. The second test will be focused on a database conceptual design and its creation. It is possible to use any materials during the tests (any communication with classmates will be prohibited). The maximum number of points for the SELECT test is 40 and the minimum is 20. The maximum points for the conceptual modeling test are 20 and a minimum is 10. At most two attempts of every test will be possible. It is not possible to use a web browser. You can use own paper and electronic materials.

Home Project

A home project is focused on data analysis of an information system. The maximum number of points for the home project is 30 and the minimum is 15. One part of the project is focused on the SQL scripts. Before uploading your SQL scripts into the system, you may test them using the desktop application. We will use this software for the evaluation as well. The link also contains a template of the SQL scripts with the three files. Example of the sql scripts are here.

WeekLectureExercise
1.Lecture slides: Introduction to database systems     Video

Tasks: SQL Basics                          
Solutions: SQL Basics 

Script: Sakila DB                          
Description: Connection to a Sql Server

2.Lecture slides: Relational algebra + SQL I     Video                       
Script: Student study subject
Tasks: Join           
Solutions: Join
3.Lecture slides: Aggregations + Task specification     Video   Tasks: Aggregate Functions and Group By         
Solutions: Aggregate Functions and Group By
4.Lecture slides: Subqueries     Video   Tasks: Set Operations and Quantifiers           
Solutions: Set Operations and Quantifiers
6.Lecture slides: Complex SQL Select Queries     Video  Tasks: Subqueries     
Solutions: Subqueries
7.Lecture slides: Conceptual modeling     Video  Sample first test    
Sample first test - solution
8.Lecture slides: Conceptual modeling, patterns, antipatterns Test on SQL
9.Lecture slides: DDL & DML SQL     Video  Project consultation
10.Lecture slides: Indexing      Video 

Tasks: DML&DDL

Solutions: DML&DDL

11.Lecture slides: Functional dependencies      Video DML/DDL Test
12.Lecture slides: Normal Forms      Video Tasks: Functional Dependencies
13. Tasks: Normal Forms