Post on 05-Dec-2021
Relational
Database Systems 1
Wolf-Tilo Balke
Florian Plötzky and Denis Nagel
Institut für Informationssysteme
Technische Universität Braunschweig
http://www.ifis.cs.tu-bs.de
2
People involved
Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig
• Who is who ?
– Wolf-Tilo Balke
• lecture recap, exams
– Florian Plötzky
• Exercises (“Große Übung”)
– Denis Nagel
• homework / tutorials
– Regine Dalkiran
• office
• In case of questions, feel free to ask us.
• Since the course encompasses more than 100
participants it is held online … again …
– 5 CP are earned by passing the final (written) exam
and achieving 50% of the homework score
• Today:
– Organization and course overview
• Next week:
– Actual first lecture
Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig 3
Yet Another Online Semester
• Lecture Videos
– Uploaded for on-demand usage
• Online Lecture Recap
– November 4, 2021 to February 17, 2022
– 15:00 – 16:00 (estimated)
• Exercises (“Große Übung”)
– Immediately after the lecture recap (~16:00 – 17:00)
• Weekly Homework
– … can be downloaded from our Website
4Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig
Course Elements
• Splitted in two parts:
– On-demand lecture videos:
• New topics and Detours every week
• Uploaded each Thursday starting today!
– Lecture Recap
• Recap of the last video and Q&A
• Livestream every Thursday at 15:00
• Starting at November 4, 2021
• Please watch the corresponding video before the
recap!
• Completed by a written exam in March 2022Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig 5
The Lecture
• Every week after the recap we will:
– take a look on larger examples
– solve non-trivial exercises
– point out typical mistakes and common ways to solve
particular problems
– not introduce new concepts!
Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig 6
Exercises (aka „Große Übung“)
• Homework assignments
– can be downloaded from our website after each recap on
Thursdays
• Homework must be completed within groups of 2
students (no larger or smaller groups, please!)
• To be send in before the next recap (= 1 week of time to complete them)
– Send it by mail to your HiWi by next weeks Thursday at 15:00
– Please send us PDF files only!
– Mark each page with• your names and matriculation numbers
Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig 7
Homework and Tutorials
• Additionally: Tutorial groups
– led by our HiWis
– homework discussion
– This year: mixed setting
• Again: in order to pass this module (5CP) you
need to
1) … achieve 50% of homework points
(Studienleistung, ungraded)
2) … pass the exam (Prüfungsleistung, graded)
8Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig
Homework and Tutorials
• The homework is collected and graded by our
HiWis
• We offer tutorial groups in two different
flavors:
– Offline groups meeting in our seminar room (IZ 251)
– Online groups (BBB room of the corresponding
HiWi)
• Let‘s take a poll first!
– Would you prefer an offline or online group?
Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig 9
Homework and Tutorials
• The first sheet is assigned to you after the next
lecture (November 4)
– Please hand in your solution by mail (to your respective
HiWi) before the corresponding next lecture (e.g.
for the first sheet until November 11, 15:00)
– Beware! Your solutions are graded with 0 points if:
• They are handed in late
• Names and/or matriculation numbers on the solutions are
missing
– A file name is not enough!
• The file send by you is not a PDF file
• Your solution is plagiarized
Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig 10
Homework and Tutorials
• So, who is my HiWi?
– We will open Stud.IP groups where you can assign
yourself to a tutorial group
• Please make sure, that both, you and your partner are
assigned to the same group in Stud.IP!
• The groups will be opened starting 01.11 18:00 till 05.11 18:00
– Hand in your homework to the HiWi in charge of your
group by email
– The HiWi will:
• send you the corrected homework before his tutorial starts
• discuss the respective homework in his tutorial session (online or
offline)
Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig 11
Homework and Tutorials
Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig 12
Tutorial Groups
1.2.
3.
Open: 01.11
18:00 till
05.11 18:00
• Although this lecture is online (again) we try our best to offer you a great lecture!
• If you have any question please ask us on Thursdays directly, ask your HiWis during the tutorials or contact us otherwise
– Note: for any questions regarding the grading of your homework please contact your HiWi directly
• Also: Please be aware that asking questions and discussing topics are the main drivers of learningso please don‘t get and communicate with your peers and us!
Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig 13
Communication
• Lecture video upload:
– Every Thursday, starting today after the lecture
• Recaps and exercises:
– Every Thursday beginning at 15:00 online, starting next Thursday (November 4)
• Homework and Tutorials
– First exercise sheet next week (November 4)
• Therefore it is due November 11, 15:00
– Registration for tutorial groups: 01.11 (18:00) till 05.11 (18:00)
– First tutorials starting on 15.11.2021
Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig 14
Schedule Summary
Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig 15
End of Orga …
… and now for something completely different!
• Its mandatory in your course of study….
• Database system are an integral part of most
businesses, workflows and software products
• There is an abundance of jobs for
people with good database skills
– help yourself to put you into a good
position within the job market
– prepare for a sunny and wealthy future!
Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig 16
Why should you be here?
Job descriptions also exactly describe this course…
Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig 17
Why should you be here?
• After successfully completing this course you
should be able to
– explain the fundamental terms of
• databases in general
• the relational model
• theoretical and practical aspects of query languages
• conceptual and logical design of databases including
normalization
• application programming
• further concepts like constraints, views, indexes,
transactions and object databases
Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig 18
Course Objectives
• You should furthermore be able to
– design and implement a database for any specified
domain using ER-Diagrams or UML-Diagrams, the
Relational Model and SQL-DDL
– normalize a given relational database schema
– enhance the database with views, indexes,
constraints, and triggers
– formulate data retrieval queries in SQL, Relational
Algebra, and Relational Calculi
– write programs accessing databases using JDBC
Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig 19
Course Objectives
Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig 20
Contents of this Course
Lecture Topic
0 Organization (today)
1 Introduction
2 Data Modeling 1
3 Data Modeling 2
4 View Integration
5 Relational Model
6 Relational Algebra
7 Relational Calculus
8 SQL 1
9 SQL 2
10 Normalization
11 Application Programming 1
12 Application Programming 2
13 Object Persistence
• Fundamentals of Database Systems (EN)– Elmasri and Navathe
– Addison-Wesley
• Database System Concepts (SKS)– Silberschatz, Korth, and Sudarshan
– McGraw Hill
• Database Systems (GUW)– Garcia-Molina, Ullman, and Widom
– Prentice Hall
• Datenbanksysteme (KE)– Kemper, and Eickler
– Oldenbourg
21Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig
Recommended Literature
• Database Modeling and Design:Logical Design– Teorey, Lightstone, and Nadeau
– Morgan Kaufmann– http://www.sciencedirect.com/science/book/9780123820204
• SQL Cookbook– Molinaro
– O’Reilly
• Using the New DB2– Chamberlin
– AP Professional
• W3Schools SQL– http://www.w3schools.com/sql/
EN 1.1 22Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig
Recommended Literature
• Basic course in databases
– Relational Databases I (Bachelor)
• What can we do with an DBMS?
• Conceptual modeling, data retrieval, relational model, SQL,
building applications, basic data models
– Relational Databases II (Master)
• How can we implement a DBMS?
• Storage models, query optimization, transactions,
concurrency control, recovery, data security
Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig 23
Courses at ifis
• Advanced courses in Information Systems
(Master)
– Information Retrieval and Web Search Engines
– Multimedia Databases
– Distributed Data Management
– Knowledge-Based Systems and Deductive Databases
– Data Warehousing and Data Mining Techniques
Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig 24
Courses at ifis
• 1. Lecture on RDB 1
– What is a database?
– Characteristics of a DB
– History of DBs
• Dates:
– Lecture Upload: 28.10.2021
– Recap: 04.11.2021, 15:00
25Relational Database Systems 1 – Wolf-Tilo Balke – Technische Universität Braunschweig
Next Week