hero-image

Teaching database courses at the Department of Computer Science

Introduction to Database Systems

Credit Conditions

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 minimum 20. The maximum number of points for the conceptual modelling test is 20 and minimum 10. At most two attempts of every test will be possible.

The First Test

The first test will take place on the exercise no. 7. 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).

The test will use the following data model. Run this script to create the tables in your database. Last update of the script: 9.10.2019.

Home Project

Another part of the credit is a home project which 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. The detailed description of the project can be found here and example of the data analysis can be found here

The actual version of the web system for evaluation of the projects does not work correctly and has some issues with evaluation of the SQL scripts. Before you will upload your SQL scripts into the system, 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

Tasks: SQL Basics
Solutions: SQL Basics

Script: Sakila DB
Description: Connection to a Sql Server

2.Lecture slides: Relational algebra + SQL I
Script: Student study subject
Tasks: Join
Solutions: Join
3.Lecture slides: SQL II

Tasks: Aggregate Functions and Group By
Solutions: Aggregate Functions and Group By

Update script: Sakila diff

4.Lecture slides: SQL IIITasks: Set Operations and Quantifiers
Solutions: Set Operations and Quantifiers
5.Lecture slides: SQL IVTasks: Subqueries
Solutions: Subqueries
6.Lecture slides: SQL JDD + JDMTest 1
Description:Data model
Run this script
7.Lecture slides: Task & Conceptual modellingScript: Airline model
Tasks: DDL, DML
Solutions: DDL, DML
8.Lecture slides: Conceptual modelling IIConceptual modelling using Oracle data modeller
9.Lecture cancelledTest 2
10.Lecture slides: Functional dependencies

Task specification consultation

Task specification first deadline 23.11.

11.Lecture: Normalization

Tasks: functional dependencies

Task specification second deadline 30.11.
Data model first deadline 30.11.

12.Lecture: IndexesTask specification last deadline 7.12.
Data model second deadline 7.12.
SQL Scripts deadline 7.12.
13.Lecture canceled

Tasks: indexing

SQL Scripts last deadline 14.12.

14.

Final test (max 10p/ min 5p)

Examples of questions

Project presentation and final submission of the project