[major=SE | course_id=DBI202 | syllabus_id=12039 | semester=3 | combo=core | title=Database Systems]
Course ID: DBI202
Title EN: Database Systems
Title VI: Các hệ cơ sở dữ liệu
Credits: 3.0
Prerequisites: 
Description: - Knowledge about database systems has become an essential part of an education in computer science because database management has evolved from a specialized computer application to a central component of a modern computing environment.
- The content of this course includes aspects of database management basic concepts, database design, database languages, and database-system implementation. Basing on these contents, the course emphasizes on how to organize, maintain and retrieve efficiently data and information from a DBMS.
Student tasks: - Students must attend at least 80% of contact slots in order to be accepted to the final examination.
- Student is responsible to do all exercises given by instructor in class or at home and submit on time
- Promptly access to the https://flm.fpt.edu.vn/ for up-to-date course information
Tools: Microsoft SQL Server
Course type: traditional
Decision: 1286/QĐ-ĐHFPT dated 11/22/2024
Approved date: 2024-11-22
CLO1: Understand thedatabase concepts and database management system software
[1] category=Assignment; type=on-going; weight=20.0; duration=28 slots; question_type=; grading_guide=All subjects in syllabus; completion_criteria=; clos=>0
[2] category=Lab; type=on-going; weight=10.0; duration=90'; question_type=; grading_guide=; completion_criteria=; clos=>0
[3] category=Practical Exam; type=on-going; weight=30.0; duration=85'; question_type=; grading_guide=; completion_criteria=; clos=>0
[4] category=Progress test; type=on-going; weight=10.0; duration=30'; question_type=; grading_guide=; completion_criteria=; clos=>0
[5] category=Final exam; type=Final exam; weight=30.0; duration=60; question_type=; grading_guide=All subjects in syllabus; completion_criteria=; clos=4
[1] desc=First Course in Database Systems; author=Jeffrey D. Ullman, Jennifer Widom; publisher=Pearson; edition=Third edition; isbn=9781292025827 or 9780136006374; main=True; online=; note=
[2] desc=Database Management System; author=Raghu ramakrishnan; publisher=Mc Graw-Hill; edition=Third edition; isbn=978-8131769591; main=; online=; note=
[3] desc=Database Management System (DBMS): A Practical Approach; author=Rajiv Chopra; publisher=SChand Publications; edition=; isbn=9788121932455; main=; online=; note=
[4] desc=Course slides (.pptx); author=; publisher=; edition=; isbn=; main=; online=; note=
[5] desc=Labs & assignment; author=; publisher=; edition=; isbn=; main=; online=; note=
Session 1: Chapter 1. The Worlds of Database Systems
1.1 The Evolution of Database Systems
1.2 Overview of Database Management System
Topic: Offline; Teaching type: LO1; LO: I
ITU: Textbook, slides
Materials: DBI202
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 1 in text book, focus on 1.1 and 1.2

Session 2: 1.3 Outline of Database-System Studies
Assignment Introduction (individual)
Topic: Offline; Teaching type: LO1; LO: I
ITU: Textbook, slides
Materials: DBI202
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 1 in text book, focus on 1.1 and 1.2

Session 3: Chapter 2. The Relational Model of Data
2.1 An Overview of Data Models
Topic: Offline; Teaching type: LO2; LO: IT
ITU: Textbook, slides
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 2 in text book, focus on 2.1 and 2.2

Session 4: 2.2 Basics of the Relational Model
Topic: Offline; Teaching type: LO2; LO: I, T
ITU: Textbook, slides
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 2 in text book, focus on 2.1 and 2.2
CLO2: Understand the relation model of data and Algebraic Query Language
Session 1: 2.4 An Algebraic Query Language
Topic: Offline; Teaching type: LO2; LO: I, T
ITU: Textbook, slides
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 2 in text book, focus on 2.4

Session 2: 2.4 An Algebraic Query Language (cont.)
Topic: Offline; Teaching type: LO2; LO: I, T
ITU: Textbook, slides
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 2 in text book, focus on 2.4

Session 3: Lab1 assistance
Topic: Offline; Teaching type: LO1, LO2; LO: U
ITU: Textbook, slides, lab's questions
Download: Do lab 1 as homework

Session 4: Lab1 assistance (cont.)
Topic: Offline; Teaching type: LO1, LO2; LO: U
ITU: Textbook, slides, lab's questions
Download: Do lab 1 as homework
CLO3: Understand data normalization and apply normalization techniques in database design
Session 1: Chapter 3. Design Theory for Relational Databases
3.1 Functional Dependencies
Topic: Offline; Teaching type: LO3; LO: I, T
ITU: Textbook, slides
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 3 in text book, focus on 3.1 and 3.2

Session 2: 3.2 Rules About Functional Dependencies
Topic: Offline; Teaching type: LO3; LO: I, T
ITU: Textbook, slides
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 3 in text book, focus on 3.1 and 3.2

Session 3: 3.3 Design of Relational Database Schema
Topic: Offline; Teaching type: LO3; LO: I, T
ITU: Textbook, slides
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 3 in text book, focus on 3.3

Session 4: 3.3 Design of Relational Database Schema (cont.)
Topic: Offline; Teaching type: LO3; LO: I, T
ITU: Textbook, slides
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 3 in text book, focus on 3.3
CLO4: Be able to model an application’s data requirements using conceptual modeling tools like ER diagrams and design database schemas based on the conceptual model.
Session 1: 3.5 Normal Forms (1NF, 2NF)
Topic: Offline; Teaching type: LO3; LO: I, T
ITU: Textbook, slides
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 3 in text book, focus on 3.5

Session 2: 3.5 Normal Forms (cont. 3NF, BCNF)
Topic: Offline; Teaching type: LO3; LO: I, T
ITU: Textbook, slides
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 3 in text book, focus on 3.5

Session 3: Lab 2 assistance
Topic: Offline; Teaching type: LO3; LO: U
ITU: 'Textbook, slides, lab's questions
Download: Do lab 2 as homework

Session 4: Lab 2 assistance (cont.)
Topic: Offline; Teaching type: LO3; LO: U
ITU: 'Textbook, slides, lab's questions
Download: Do lab 2 as homework
CLO5: Be proficient in structure query language including Data Definition Language(DDL) and Data Manipulation Language(DML)
Session 1: Progress test 1 (<=30')
Assignment assistance
Topic: Offline; Teaching type: LO1, LO2, LO3; LO: I, U
ITU: Textbook, slides,assignment's questions
Download: Do assignment as homework

Session 2: Assignment assistance (cont.)
Topic: Offline; Teaching type: LO1, LO2, LO3; LO: I, U
ITU: Textbook, slides,assignment's questions
Download: Do assignment as homework

Session 3: Chapter 4. High-Level Database Models
4.1 The Entity / Relationship Model
Topic: Offline; Teaching type: LO4; LO: I, T
ITU: Textbook, slides
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 4 in text book, focus on 4.1, 4.2 and 4.3

Session 4: 4.2 Design Principles
4.3 Constraints in the E / R Model
Topic: Offline; Teaching type: LO4; LO: I, T
ITU: Textbook, slides
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 4 in text book, focus on 4.1, 4.2 and 4.3
CLO6: Understand PL/SQL concepts and manipulate with View, Cursors, Stored Procedures, Functions, Database Triggers
Session 1: 4.4 Weak Entity Sets
4.5 From E / R Diagrams to Relational Models
Topic: Offline; Teaching type: LO4; LO: I, T, U
ITU: Textbook, slides
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 4 in text book, focus on 4.4, 4.5 and 4.6

Session 2: 4.6 Converting Subclass Structures to Relations
Topic: Offline; Teaching type: LO4; LO: I, T, U
ITU: Textbook, slides
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 4 in text book, focus on 4.4, 4.5 and 4.6

Session 3: Lab 3 assistance
Topic: Offline; Teaching type: LO4; LO: U
ITU: Textbook, slides, lab's questions
Download: Do lab 3 as homework

Session 4: Lab 3 assistance (cont.)
Topic: Offline; Teaching type: LO4; LO: U
ITU: Textbook, slides, lab's questions
Download: Do lab 3 as homework
CLO7: Apply the Index in database design and query optimization
Session 1: Assignment assistance
Topic: Offline; Teaching type: LO1, LO2, LO3, LO4; LO: U
ITU: Textbook, slides,assignment's questions
Download: Do assignment as homework

Session 2: Assignment assistance (cont.)
Topic: Offline; Teaching type: LO1, LO2, LO3, LO4; LO: U
ITU: Textbook, slides,assignment's questions
Download: Do assignment as homework

Session 3: Chapter 6. The Database Language SQL
6.1 Data Definition Lanaguage (DDL)
Topic: Offline; Teaching type: LO5; LO: I, T
ITU: Textbook, slides
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 6 in text book, focus on 6.1 and 6.2

Session 4: DDL (cont.)
Topic: Offline; Teaching type: LO5; LO: I, T
ITU: Textbook, slides
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 6 in text book, focus on 6.1 and 6.2
Session 1: 6.2. Implement constraints on attributes with MS SQL Server (Keys and Foreign Keys, UNIQUE, CHECK,..)
Topic: Offline; Teaching type: LO5; LO: I, T
ITU: Textbook, slides
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 7 in text book, focus on 7.1 and 7.2

Session 2: 6.2. Implement constraints on attributes with MS SQL Server (cont.)
Topic: Offline; Teaching type: LO5; LO: I, T
ITU: Textbook, slides
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 7 in text book, focus on 7.1 and 7.2

Session 3: 6.3 DML introduction & Basic of SQL Queries
Topic: Offline; Teaching type: LO5; LO: I, T
ITU: Textbook, slides
Download: Read chapter 6 in text book

Session 4: DML (cont.)
Topic: Offline; Teaching type: LO5; LO: I, T
ITU: Textbook, slides
Download: Read chapter 6 in text book
Session 1: 6.4 Query on more one relation
Topic: Offline; Teaching type: LO5; LO: I, T
ITU: Textbook, slides
Download: Read chapter 6 in text book

Session 2: 6.4 Query on more one relation (cont.)
Topic: Offline; Teaching type: LO5; LO: I, T
ITU: Textbook, slides
Download: Read chapter 6 in text book

Session 3: 6.5 Nested Queries in SQL
Topic: Offline; Teaching type: LO5; LO: T, U
ITU: Textbook, slides
Download: Read chapter 6 in text book

Session 4: 6.5 Nested Queries in SQL (cont.)
Topic: Offline; Teaching type: LO5; LO: T, U
ITU: Textbook, slides
Download: Read chapter 6 in text book
Session 1: 6.6 Aggregation Queries in SQL
Topic: Offline; Teaching type: LO5; LO: T, U
ITU: Textbook, slides
Download: Read chapter 6 in text book

Session 2: 6.6 Aggregation Queries in SQL (cont.)
Topic: Offline; Teaching type: LO5; LO: T, U
ITU: Textbook, slides
Download: Read chapter 6 in text book

Session 3: 6.7 Database Modifications (INSERT, UPDATE statement)
Topic: Offline; Teaching type: LO5; LO: T, U
ITU: Textbook, slides
Download: Read chapter 6 in text book

Session 4: 6.7 Database Modifications (cont. DELETE statement)
Topic: Offline; Teaching type: LO5; LO: T, U
ITU: Textbook, slides
Download: Read chapter 6 in text book
Session 1: Chapter 7. Practical Issues of database application
7.1. Index
Topic: Offline; Teaching type: LO7; LO: I, T, U
ITU: Textbook, slides
Download: Read chapter 6 in text book

Session 2: Index (cont.)
Topic: Offline; Teaching type: LO7; LO: I, T, U
ITU: Textbook, slides
Download: Read chapter 6 in text book

Session 3: 7.2. Transaction, View and Query Optimization
Topic: Offline; Teaching type: LO6, LO7; LO: I, T, U
ITU: Textbook, slides
Download: Read chapter 6 in text book

Session 4: 7.2. Transaction, View and Query Optimization (cont.)
Topic: Offline; Teaching type: LO6, LO7; LO: I, T, U
ITU: Textbook, slides
Download: Read chapter 6 in text book
Session 1: Lab 4 assistance
Topic: Offline; Teaching type: LO5, LO6, LO7; LO: U
ITU: Textbook, slides, lab's questions
Download: Do lab 4 as homework

Session 2: Lab 4 assistance (cont.)
Topic: Offline; Teaching type: LO5, LO6, LO7; LO: U
ITU: Textbook, slides, lab's questions
Download: Do lab 4 as homework

Session 3: Assignment assistance (focus on query)
Topic: Offline; Teaching type: LO1, LO2, LO3, LO4, LO5, LO7; LO: U
ITU: 'Textbook, slides,assignment's questions
Download: Do assignment as homework

Session 4: Assignment assistance (focus on query) (cont.)
Topic: Offline; Teaching type: LO1, LO2, LO3, LO4, LO5, LO7; LO: U
ITU: 'Textbook, slides,assignment's questions
Download: Do assignment as homework
Session 1: Chapter 8. Constraints and T-SQL Programming
8.1 Triggers
Topic: Offline; Teaching type: LO6; LO: T, U
ITU: Textbook, slides
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 7 in text book, focus on 7.5

Session 2: 8.2 Constraint with triggers
Topic: Offline; Teaching type: LO6; LO: T, U
ITU: Textbook, slides
Download: https://flm.fpt.edu.vn/gui/role/student/Read chapter 7 in text book, focus on 7.5

Session 3: 8.3 View, Function
Topic: Offline; Teaching type: LO6; LO: T
ITU: Textbook, slides
Download: Read chapter 7 in text book

Session 4: 8.3 View, Function (cont.)
Topic: Offline; Teaching type: LO6; LO: T
ITU: Textbook, slides
Download: Read chapter 7 in text book
Session 1: 8.4 Cursors
Topic: Offline; Teaching type: LO6; LO: T
ITU: Textbook, slides
Download: Read chapter 9 in text book

Session 2: 8.5 Implement stored procedure with MS SQL Server
Topic: Offline; Teaching type: LO6; LO: T
ITU: Textbook, slides
Download: Read chapter 9 in text book

Session 3: Progress test 2
Lab 5 assistance
Topic: Offline; Teaching type: LO4, LO5, LO6, LO7; LO: U
ITU: Textbook, slides, lab's questions
Download: Do lab 5 as homework

Session 4: Lab 5 assistance (cont.)
Topic: Offline; Teaching type: LO4, LO5, LO6, LO7; LO: U
ITU: Textbook, slides, lab's questions
Download: Do lab 5 as homework
Session 1: Assignment review
Topic: Offline; Teaching type: LO1, LO2, LO3, LO4, LO5, LO6, LO7; LO: U
ITU: 'Textbook, slides,assignment's questions
Download: Do assignment as homework

Session 2: Assignment review (cont.)
Topic: Offline; Teaching type: LO1, LO2, LO3, LO4, LO5, LO6, LO7; LO: U
ITU: 'Textbook, slides,assignment's questions
Download: Do assignment as homework

Session 3: Review
Topic: Offline; Teaching type: All LOs; LO: 
ITU: 

Session 4: Review
Topic: Offline; Teaching type: All LOs; LO: 
ITU: