Review for Final Test Indra Budi

Slides:



Advertisements
Similar presentations
Three-Step Database Design
Advertisements

COP4540 Database Management System Midterm Review
Relational Database Design Via ER Modelling
Enhanced/Extended Relationship-Diagram
The Relational Model and Relational Algebra Nothing is so practical as a good theory Kurt Lewin, 1945.
Relational Database. Relational database: a set of relations Relation: made up of 2 parts: − Schema : specifies the name of relations, plus name and type.
Fakultas Ilmu Komputer UI 1 Exercise A series of actions to be taken on the database such that either all actions are completed successfully, or none of.
Mapping ER to Relational Model
Review Indra Budi Fakultas Ilmu Komputer UI 2 Database Introduction Database vs File Processing Main purpose of database Database Actors.
SQL Lecture 10 Inst: Haya Sammaneh. Example Instance of Students Relation  Cardinality = 3, degree = 5, all rows distinct.
1 Class Number – CS 304 Class Name - DBMS Instructor – Sanjay Madria Instructor – Sanjay Madria Lesson Title – EER Model –21th June.
Database Management Systems I Alex Coman, Winter 2006
Midterm Review Lecture 14b. 14 Lectures So Far 1.Introduction 2.The Relational Model 3.Disks and Files 4.Relational Algebra 5.File Org, Indexes 6.Relational.
1 Review #1 l Intro stuff –What is a database, 4 parts, 3 users, etc. l Architecture –Data independence –Three levels, two mappings –Jobs of the DBA.
Chapter 3. 2 Chapter 3 - Objectives Terminology of relational model. Terminology of relational model. How tables are used to represent data. How tables.
24/1/20081 Architecture of multiple databases integration.
Data Management Design
Methodology Logical Database Design for the Relational Model
All of ERD (Ch 3) plus: – Class/subclass relationships – Inheritance – Specialization – Generalization – Category.
CS405G: Introduction to Database Systems Final Review.
The Relational Model Codd (1970): based on set theory Relational model: represents the database as a collection of relations (a table of values --> file)
...Looking back Why use a DBMS? How to design a database? How to query a database? How does a DBMS work?
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 9 Relational Database Design by ER- and EER-to- Relational Mapping.
Modeling & Designing the Database
Data at the Core of the Enterprise. Objectives  Define of database systems  Introduce data modeling and SQL  Discuss emerging requirements of database.
Database Design & ER Diagrams
Chapter 14 & 15 Conceptual & Logical Database Design Methodology
Midterm 1 Concepts Relational Algebra (DB4) SQL Querying and updating (DB5) Constraints and Triggers (DB11) Unified Modeling Language (DB9) Relational.
ER- and EER-to-Relational Mapping
Concepts of Database Management, Fifth Edition
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
Chapter 4 The Relational Model.
Data at the Core of the Enterprise. Objectives  Define of database systems.  Introduce data modeling and SQL.  Discuss emerging requirements of database.
Chapters 17 & 18 Physical Database Design Methodology.
Q1: What is DBMS and explain its architecture. Q2: Explain Data Independence in detail. Q3: What is database user and explain the types of database user.
Midterm Exam Chapters 1,2,3,5, 6,7 (closed book) March 11, 2014.
PLUG IT IN 3 Fundamentals of Relational Database Operations.
M Taimoor Khan Course Objectives 1) Basic Concepts 2) Tools 3) Database architecture and design 4) Flow of data (DFDs)
1 The Relational Database Model. 2 Learning Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical.
CSCI 3140 Module 3 – Logical Database Design for the Relational Model Theodore Chiasson Dalhousie University.
Chapter 4 Database Processing Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall 4-1.
Database Design Methodology. Lesson 1: Introduction to Databases.
Databases Shortfalls of file management systems Structure of a database Database administration Database Management system Hierarchical Databases Network.
Relational Algebra – Part 2
SE305 Database System Technology 23/10/2014 Quiz-2.
SQL LANGUAGE and Relational Data Model TUTORIAL Prof: Dr. Shu-Ching Chen TA: Hsin-Yu Ha.
Computer Science and Engineering Computer System Security CSE 5339/7339 Session 21 November 2, 2004.
CpSc 462/662: Database Management Systems (DBMS) (TEXNH Approach) Relational Schema and SQL Queries James Wang.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences The Relational.
The Relational Model. 2 Relational Model Terminology u A relation is a table with columns and rows. –Only applies to logical structure of the database,
Mining real world data RDBMS and SQL. Index RDBMS introduction SQL (Structured Query language)
Chapter 3: Relational Databases
CSCI 6315 Applied Database Systems Review for Midterm Exam I Xiang Lian The University of Texas Rio Grande Valley Edinburg, TX 78539
Conversion from ER diagram to relational model 1 ER is a visual model The relational model is a matemathical model.
FEN Introduction to the database field: The development process Seminar: Introduction to relational databases Development process: Analyse.
Databases Introduction - concepts. Concepts of Relational Databases.
September 2000C.Watters1 Data & Database Management Systems (DBMS) ECMM6010.
Relational Database Design by ER- and EER-to- Relational Mapping
Quiz Questions Q.1 An entity set that does not have sufficient attributes to form a primary key is a (A) strong entity set. (B) weak entity set. (C) simple.
Translation of ER-diagram into Relational Schema
Generalization.
CS 3630 Database Design and Implementation
The Relational Model Textbook /7/2018.
Introduction to Database Systems CSE 444 Lecture 23: Final Review
Final Review Topics Chapter 4 SQL,
Database Dr. Roueida Mohammed.
Introduction to Database Systems CSE 444 Lecture 23: Final Review
Final Review Friday, December 8, 2006.
Review #1 Intro stuff What is a database, 4 parts, 3 users, etc.
Chapter 3 The Relational Model
Presentation transcript:

Review for Final Test Indra Budi

Fakultas Ilmu Komputer UI 2 Database Introduction Database vs File Processing Main purpose of database Database Actors DBA, Database Designers, Database users, Application Programmer DBMS

Fakultas Ilmu Komputer UI 3 Database Concept Database schema Three-Schema Architectures of DBMS Internal, Conceptual & External Database Development Three phases

Fakultas Ilmu Komputer UI 4 Database Modeling Using ER-Diagram Entity Relationship Attributes Cardinality Participation Higher Degree Relationship

Fakultas Ilmu Komputer UI 5 E-ER Diagram Specialization Generalization Sub-Class & Super-Class

Fakultas Ilmu Komputer UI 6 Relational Model Domain Tuples Attributes Relations Primary Key Referential Integrity Foreign Key

Fakultas Ilmu Komputer UI 7 Relational Algebra Select Project Union Intersection Join

Fakultas Ilmu Komputer UI 8 ER-to-Relational Model Mapping ER to Relational Model Mapping EER to Relational Model Reverse Engineering  Relational Model to ER Diagram Normalization 1 st, 2 nd, 3 rd Normal Form

Fakultas Ilmu Komputer UI 9 SQL Create table Delete table Alter table Select … From … Where … DISTINCT Operators Null Values Nested Queries (Sub Queries) Operators  *, %, _, etc

Fakultas Ilmu Komputer UI 10 SQL (2) Join Operation Cross, Natural, Theta, Outer Aggregation Function SUM, AVG, COUNT, MAX, MIN GROUP BY Order BY Having

Fakultas Ilmu Komputer UI 11 Transaction ACID Problem Lost Update, Incorrect summary, dirty read, etc Schedule Serial, Serializability, Precedence Graph Concurrency Control Deadlock 2-Phase Locking Protocol