Question 01 A company database needs to store information about employees (identified by NIC, with salary and phone as attributes), departments (identified.

Slides:



Advertisements
Similar presentations
ER Modeling Case Studies
Advertisements

Exercise 1 Consider the ER diagram below. Assume that an employee may work in up to two departments or may not be assigned to any department. Assume that.
COP4540 Database Management System Midterm Review
Developing ER-Diagram
ER Modeling Case Studies
Enhanced/Extended Relationship-Diagram
The Entity-Relationship Model
Entity-Relationship Models
Draw an ER Diagram for the following (record any assumptions):
Design Principles: Faithfulness
1 The Entity-Relationship Model Chapter 2. 2 Overview of Database Design  Conceptual design: (ER Model is used at this stage.) –What are the entities.
COP5725 – Principles of Database Management Systems
Case study Lisa’s Bookstore IST210.
Cubism is a style of art portrayed by abstract shapes and twisted perspective.
Database Relational Model. The Relational Data Model Data Modeling Data Modeling Relational Schema Relational Schema Physical storage Physical storage.
Module Title? Data Base Design 30/6/2007 Entity Relationship Diagrams (ERDs)
Conceptual Design Lecture - 2 Database Development.
Introduction to Database Systems
Assignements. CSC343: Intro. to Databases2 Exercise 1 Superkeys: Candidate keys: Primary key:
Database Management System Quiz 1. A company needs to store information about: the employees identified by EmpNo, Name, Salary and Phone; departments.
ER-tutorial Conceptual Design
Logical Design database design. Dr. Mohamed Osman Hegaz2 Conceptual Database Designing –Provides concepts that are close to the way many users perceive.
Software School of Hunan University Database Systems Design Part III : Mapping ER Diagram to Relational Schema.
COMP3030 Database Management System Final Review
IS6145 Database Analysis and Design Lecture 4: Fine-Granular Design-Specific ER Modelling Rob Gleasure
“Every child is an artist. The trouble is how to remain an artist once that child grows up.” - Pablo Picasso.
COP-5725 Practice Exercises
Introduction to Database Systems
Riyadh Philanthropic Society For Science Prince Sultan College For Woman Dept. of Computer & Information Sciences CS 340 Introduction to Database Systems.
Example COMPANY Database
Extra ER. Q1: Draw an ER diagram A construction company wishes to establish a database system to record information about employees. The employee data.
Database Designsemester Slide 1 Database Design Lecture 7 Entity-relationship modeling Text , 7.1.
A UNIT IN PAINTING HOW TO PAINT LIKE THE MASTERS.
 Class and Diagram  Representation of Class Name Attributes Operations  Visibility of Attributes and Operations.
Art AS Level Summer Project
Pablo Picasso When and Where was Picasso born?
IS6145 Database Analysis and Design Lecture 4: Fine-Granular Design-Specific ER Modelling Rob Gleasure
Database Relational Model.
Assignements.
Chapter 3 Data Modeling Using the Entity-Relationship Model
Musical Instrument Collages
Entity-Relationship Model
IS6145 Database Analysis and Design Lecture 5: Enhanced Entity-Relationship (EER) Modeling Rob Gleasure
E-R Diagram (Cont.) Draw ER Diagram for the following scenario:
Entity-Relationship Model
ER Diagram Practical Example
Database EER.
ER Modeling Case Studies
بسم الله الرحمن الرحيم.
American Folk art Artist
Practice of ER modeling
Practice of ER modeling
EXAM REQUIREMENT TEMPLATE
IS6125/IS6145 Database Analysis and Design Lecture 4: Fine-Granular Design-Specific ER Modelling Rob Gleasure
IS6125 Database Analysis and Design Lecture 6: Fine-Granular Design-Specific ER Modelling Rob Gleasure
Extra ER.
IS6145 Database Analysis and Design Lecture 5: Enhanced Entity-Relationship (EER) Modeling Rob Gleasure
Entity-Relationship Modeling "Extended"
Extra ER.
IS6125 Database Analysis and Design Lecture 7: Enhanced Entity-Relationship (EER) Modeling Rob Gleasure
(gaining a deeper understanding of art materials and techniques)
ER Modeling Case Studies
ER Modeling Case Studies
Entity Relation Model Tingting Zhang.
Database Management system
Entity-Relationship Modeling "Extended"
Extra ER.
Entity-Relationship Modeling "Extended"
Extra ER LAB #2.
Presentation transcript:

Question 01 A company database needs to store information about employees (identified by NIC, with salary and phone as attributes), departments (identified by dno, with dname and budget as attributes), and children of employees (with name and age as attributes). Employees work in departments; each department is managed by an employee; a child must be identified uniquely by name when the parent (who is an employee; assume that only one parent works for the company) is known. We are not interested in information about a child once the parent leaves the company. Draw an ER diagram that captures this information.

Question 02 Galleries keep information about artists, their names (which are unique), birthplaces, age,and style of art. For each piece of artwork, the artist, the year it was made, its unique title, its type of art (e.g., painting, lithograph, sculpture, photograph), and its price must be stored. Pieces of artwork are also classified into groups of various kinds, for example, portraits, still lifes, works by Picasso, or works of the 19th century; a given piece may belong to more than one group.

Question 02… Each group is identified by a name (like those just given) that describes the group. Finally, galleries keep information about customers. For each customer, galleries keep that person’s unique name, address, total amount of dollars spent in the gallery (very important!), and the artists and groups of art that the customer tends to like. Draw the ER diagram for the database.