CSCI 6315 Applied Database Systems – Exercise (1)

Slides:



Advertisements
Similar presentations
Banking Business Scenario
Advertisements

ER Model For a college DB
Complex Integrity Constraints in SQL. Constraints over a Single Table Table Constraint: Create TABLE Sailors (sid INTEGER, sname CHAR(10), rating INTEGER,
1 Relational Algebra & Calculus Chapter 4, Part A (Relational Algebra) Query Formulation Exercise.
ER Modeling Case Studies
1 TRC vs DRC 한욱신. 2 Queries in TRC and DRC  TRC Q = {t| f(t)} where t is a (free) tuple variable and f(t) is a well-formed formula  DRC.
Chapter (7): Advanced SQL
Relational Algebra Rohit Khokher. Relational Algebra Set Oriented Operations UnionIntersectionDifference Cartesian Product Relation Oriented Operations.
SQL Lecture 10 Inst: Haya Sammaneh. Example Instance of Students Relation  Cardinality = 3, degree = 5, all rows distinct.
1 Presentation by Irina Kogan. November 27, Presentation by Irina Kogan. November 27, 2000.
Slide 1 Chapter 05 – Part 1 Data Modeling with the Entity-Relationship Model.
Entity-Relationship Diagrams
Conversion from ER diagram to relational model
CSCI 4333 Database Design and Implementation – Exercise (3) Xiang Lian The University of Texas – Pan American Edinburg, TX
1 CSE 480: Database Systems Lecture 4: Enhanced Entity-Relationship Modeling Reference: Read Chapter 8.1 – 8.5 of the textbook.
Computer Programming I and II Learn C# Write programs for Xbox.
©Silberschatz, Korth and Sudarshan2.1Database System Concepts UML UML: Unified Modeling Language UML has many components to graphically model different.
Chapter 11 & 12 Entity-Relationship (E-R) Model Characteristics of E-R Model Components of E-R Model Example of E-R Model Enhanced E-R Model.
Entity Relationship Diagram. Introduction Definition: Entity-relationship diagram is a data-modeling technique that visualises entities, the attributes.
E-R to Relational - Basic
CSCI 4333 Database Design and Implementation – Exercise (5) Xiang Lian The University of Texas – Pan American Edinburg, TX
Keys for Relationship Sets The combination of primary keys of the participating entity sets forms a super key of a relationship set. – (customer-id, account-number)
Lecture 03 Entity-Relationship Diagram. Chapter Outline.
CSCI 3328 Object Oriented Programming in C# Chapter 12: Databases and LINQ – Exercises 1 Xiang Lian The University of Texas Rio Grande Valley Edinburg,
CSCI 4333 Database Design and Implementation – Exercise (2) Xiang Lian The University of Texas Rio Grande Valley Edinburg, TX 78539
Introduction to Database Systems
CSCI 4333 Database Design and Implementation – Exercise (1) Xiang Lian The University of Texas Rio Grande Valley Edinburg, TX 78539
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.
CSCI 4333 Database Design and Implementation – Exercise (5)
Data Modeling Using the ERD
Order Database – ER Diagram
Database Systems (資料庫系統)
Relational Database Design by ER- and EER-to- Relational Mapping
Order Database – ER Diagram
Order Database – ER Diagram
CSCI-100 Introduction to Computing
بسم الله الرحمن الرحيم.
The University of Texas – Pan American
Entity-Relationship Model and Diagrams (continued)
Database Systems 10/13/2010 Lecture #4.
Relational Model and ER Model: in a Nutshell
Order Database – ER Diagram
The University of Texas Rio Grande Valley
CSCI 6315 Applied Database Systems – Exercise (3)
CSCI 4333 Database Design and Implementation – Exercise (3)
CSCI 3328 Object Oriented Programming in C# Review: Exam I
The University of Texas Rio Grande Valley
CSCI 6307 Foundation of Systems – Exercise (3)
CSCI 4333 Database Design and Implementation – Exercise (5)
CSCI 6315 Applied Database Systems – Exercise (4)
Initial Design of Entity Types: EMPLOYEE, DEPARTMENT, PROJECT, DEPENDENT Gender.
CSCI 6307 Foundation of Systems – Exercise (1)
CSCI 3328 Object Oriented Programming in C# Review: Exam II
Chapter 1: The Database Environment
CS4222 Principles of Database System
CSCI 4333 Database Design and Implementation – Exercise (4)
CSCI 6315 Applied Database Systems – Exercise (6)
CSCI 4333 Database Design and Implementation – Exercise (4)
Relational Database Design by ER- and EER-to- Relational Mapping
Chapter 7: Entity-Relationship Model
Lesson Objectives Aims You should know about: 1.3.2:
Database Management System
E.R. Examples.
CS4222 Principles of Database System
CSCI 6315 Applied Database Systems – Exercise (5)
CS4222 Principles of Database System
CSCI 6307 Foundation of Systems – Exercise (5)
CSCI 4333 Database Design and Implementation – Exercise (1)
Relational Database Design by ER-to-Relational Mapping
Presentation transcript:

CSCI 6315 Applied Database Systems – Exercise (1) Xiang Lian The University of Texas Rio Grande Valley Edinburg, TX 78539 xiang.lian@utrgv.edu

ER Diagrams Please draw an ER diagram for the following three tables (entities, relationships, attributes, primary keys, cardinality constraints, etc.) Sailors (sid, sname) Reserves (sid, bid, date) Boats (bid, bname, color)

ER Diagrams (cont'd) Please draw an enhanced ER diagram for entities like undergraduate students, freshman, sophomore, junior, and senior students. For senior students, they have supervisors who supervise their "senior project“ course Please specify the participation and disjoint constraints Please provide relational tables based on the ER diagram you designed above