hero-image

Teaching database courses at the Department of Computer Science

Database Systems I

Actual info

  • Lecture number four (19.10.) will be replaced by an uploaded video.
  • The repair test from SELECT queries will be 18.11.2022 at 14:15 in the classroom EB213.
  • The second repair test from SELECT queries will be 2.12.2022 at 9:00 in the classroom EB207.
  • The repair test from DML/DDL language will be 2.12.2022 at 10:45 in the classrom EB213.

Summary of main documents

Tasks from the tests

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 20. The maximum number of points for the conceptual modeling test is 20 and a minimum 10. At most two attempts of every test will be possible.  Students are allowed to use any static materials available on the web. They are not allowed to access shared content (email, social networks, forums, online documents, and so on).

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 you will upload 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. 

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
5.Lecture slides: Complex SQL Select Queries     Video  Tasks: Subqueries     
Solutions: Subqueries
6.Lecture slides: Conceptual modeling     Video  Sample first test    
Sample first test - solution
7.Lecture slides: DDL & DML SQL     Video  First test: Test 10:45 , Test 14:15   
Solutions: Test 10:45 , Test 14:15
8.Lecture slides: Indexing      Video Tasks: DML&DDL
9.Lecture slides: Functional dependencies      Video DML/DDL Test
10.Lecture slides: Normal Forms      Video Tasks: Functional Dependencies
11. Tasks: Normal Forms