Lecture 1
Lecture 1
5 credits)
Lecture 1 - Introduction
Yuantao Fan
[email protected]
Halmstad University
Why Studying Databases (DB)?
• Early DBMSs
– Database applications were difficult to develop and maintain
– Development are pretty much queries/application specific
• Need to know very concrete usage
• Modern DBMSs
– Efficient for accessing, and processing, huge amounts of data
– Handle persistent data; garantees constriants on data
– Handles concurrent access to data
Relational databases
• Relational algebra
– Projection, union, intersection, difference, product, joints etc…
• Idea
– Store database in simple data structure
– Access data through high-level language
• Data models
– A data model is collection of concepts for describing the data in a database
– A schema is a description of a particular collection of data, using a given data model
Structured Query Language (SQL)
• Relational languages
– Data Definition Language
– Data Control Language
– Data Manipulation Language
Why Structured Query Language (SQL) for Data Science?
• Design a database
– ER-diagram
– Schema
• Each week
– 2 lectures (on-site campus, zoom on special occasions)
• The first lecture introduces core content
• The second lecture focus on practices and exercises
– 1 Q&A / lab /project sessions
• Supervision on lab assignment
23
Course Materials
• Text book
– Elmasri, R., et al. "FUNDAMENTALS OF Database Systems SEVENTH EDITION." (2016).
– Hector Garcia, Molina, Jeffrey D. Ullman & Jennifer Widom. Database Systems: The Complete Book, 2. uppl.
Pearson Education, 2013
24
Grading Criteria
• Project Assignment
– 4 Labs
– 1 Project
• Introduction in week 3
• Hand-in week 4, final hand-in last week.
• Written examination
– Most likely on campus