Database Systems (DBI202)
Vietnamese title: Các hệ cơ sở dữ liệu
Credits: 3

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.

Learning outcomes:
Understand thedatabase concepts and database management system software
Understand the relation model of data and Algebraic Query Language
Understand data normalization and apply normalization techniques in database design
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.
Be proficient in structure query language including Data Definition Language(DDL) and Data Manipulation Language(DML)
Understand PL/SQL concepts and manipulate with View, Cursors, Stored Procedures, Functions, Database Triggers
Apply the Index in database design and query optimization

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

Materials:
description: First Course in Database Systems
author: Jeffrey D. Ullman, Jennifer Widom
publisher: Pearson
published_date: 2008
edition: Third edition
isbn: 9781292025827 or 9780136006374
description: Database Management System
author: Raghu ramakrishnan
publisher: Mc Graw-Hill
edition: Third edition
isbn: 978-8131769591
description: Database Management System (DBMS): A Practical Approach
author: Rajiv Chopra
publisher: SChand Publications
isbn: 9788121932455
description: Course slides (.pptx)
description: Labs & assignment

Assessments:
category: Assignment
type: on-going
weight: 20.0
duration: 28 slots
grading_guide: All subjects in syllabus
note: in class, by teacher
category: Lab
type: on-going
weight: 10.0
duration: 90'
note: in class, by teacher
category: Practical Exam
type: on-going
weight: 30.0
duration: 85'
note: By exam board
category: Progress test
type: on-going
weight: 10.0
duration: 30'
no_question: Multiple choices; Marked by Computer or a suitable format
knowledge_and_skill: 20
note: in class, by LMS system
category: Final exam
type: Final exam
weight: 30.0
duration: 60
knowledge_and_skill: 50
grading_guide: All subjects in syllabus
note: Exam room

Schedule:
session: Chapter 1. The Worlds of Database Systems
1.1 The Evolution of Database Systems
1.2 Overview of Database Management System
learning_outcomes: I
materials: DBI202
session: 1.3 Outline of Database-System Studies
Assignment Introduction (individual)
learning_outcomes: I
materials: DBI202
session: Chapter 2. The Relational Model of Data
2.1 An Overview of Data Models
learning_outcomes: IT
session: 2.2 Basics of the Relational Model
learning_outcomes: I
T
session: 2.4 An Algebraic Query Language
learning_outcomes: I
T
session: 2.4 An Algebraic Query Language (cont.)
learning_outcomes: I
T
session: Lab1 assistance
learning_outcomes: U
session: Lab1 assistance (cont.)
learning_outcomes: U
session: Chapter 3. Design Theory for Relational Databases
3.1 Functional Dependencies
learning_outcomes: I
T
session: 3.2 Rules About Functional Dependencies
learning_outcomes: I
T
session: 3.3 Design of Relational Database Schema
learning_outcomes: I
T
session: 3.3 Design of Relational Database Schema (cont.)
learning_outcomes: I
T
session: 3.5 Normal Forms (1NF, 2NF)
learning_outcomes: I
T
session: 3.5 Normal Forms (cont. 3NF, BCNF)
learning_outcomes: I
T
session: Lab 2 assistance
learning_outcomes: U
session: Lab 2 assistance (cont.)
learning_outcomes: U
session: Progress test 1 (<=30')
Assignment assistance
learning_outcomes: I
U
session: Assignment assistance (cont.)
learning_outcomes: I
U
session: Chapter 4. High-Level Database Models
4.1 The Entity / Relationship Model
learning_outcomes: I
T
session: 4.2 Design Principles
4.3 Constraints in the E / R Model
learning_outcomes: I
T
session: 4.4 Weak Entity Sets
4.5 From E / R Diagrams to Relational Models
learning_outcomes: I
T
U
session: 4.6 Converting Subclass Structures to Relations
learning_outcomes: I
T
U
session: Lab 3 assistance
learning_outcomes: U
session: Lab 3 assistance (cont.)
learning_outcomes: U
session: Assignment assistance
learning_outcomes: U
session: Assignment assistance (cont.)
learning_outcomes: U
session: Chapter 6. The Database Language SQL
6.1 Data Definition Lanaguage (DDL)
learning_outcomes: I
T
session: DDL (cont.)
learning_outcomes: I
T
session: 6.2. Implement constraints on attributes with MS SQL Server (Keys and Foreign Keys, UNIQUE, CHECK,..)
learning_outcomes: I
T
session: 6.2. Implement constraints on attributes with MS SQL Server (cont.)
learning_outcomes: I
T
session: 6.3 DML introduction & Basic of SQL Queries
learning_outcomes: I
T
session: DML (cont.)
learning_outcomes: I
T
session: 6.4 Query on more one relation
learning_outcomes: I
T
session: 6.4 Query on more one relation (cont.)
learning_outcomes: I
T
session: 6.5 Nested Queries in SQL
learning_outcomes: T
U
session: 6.5 Nested Queries in SQL (cont.)
learning_outcomes: T
U
session: 6.6 Aggregation Queries in SQL
learning_outcomes: T
U
session: 6.6 Aggregation Queries in SQL (cont.)
learning_outcomes: T
U
session: 6.7 Database Modifications (INSERT, UPDATE statement)
learning_outcomes: T
U
session: 6.7 Database Modifications (cont. DELETE statement)
learning_outcomes: T
U
session: Chapter 7. Practical Issues of database application
7.1. Index
learning_outcomes: I
T
U
session: Index (cont.)
learning_outcomes: I
T
U
session: 7.2. Transaction, View and Query Optimization
learning_outcomes: I
T
U
session: 7.2. Transaction, View and Query Optimization (cont.)
learning_outcomes: I
T
U
session: Lab 4 assistance
learning_outcomes: U
session: Lab 4 assistance (cont.)
learning_outcomes: U
session: Assignment assistance (focus on query)
learning_outcomes: U
session: Assignment assistance (focus on query) (cont.)
learning_outcomes: U
session: Chapter 8. Constraints and T-SQL Programming
8.1 Triggers
learning_outcomes: T
U
session: 8.2 Constraint with triggers
learning_outcomes: T
U
session: 8.3 View, Function
learning_outcomes: T
session: 8.3 View, Function (cont.)
learning_outcomes: T
session: 8.4 Cursors
learning_outcomes: T
session: 8.5 Implement stored procedure with MS SQL Server
learning_outcomes: T
session: Progress test 2
Lab 5 assistance
learning_outcomes: U
session: Lab 5 assistance (cont.)
learning_outcomes: U
session: Assignment review
learning_outcomes: U
session: Assignment review (cont.)
learning_outcomes: U
session: Review
session: Review