Example A university registrar’s office maintains data about the following entities: (a) courses, including number, title, credits, syllabus, and prerequisites;

Slides:



Advertisements
Similar presentations
ER Model For a college DB
Advertisements

Curriculum Changes for Cognitive Science Approved by: Selmer Bringsjord _____________ Department Head Chair of School Curriculum Committee Dean of School.
E NTITY R ELATIONSHIP D IAGRAMS Joe Meehean 1. E NTITY R ELATIONSHIP M ODEL Entity type an object (noun) e.g., student attributes (e.g., last name) Relationship.
Entity, Attribute, and Relationship DATA ENTITY TYPE: a noun, i.e. roles, events, locations, people, tangible things about which we wish to maintain.
1 The Entity-Relationship Model Chapter 2. 2 Exercise  What can you say about policy of the bank from the ER diagram?  What can you say about the policy.
SQL Lecture 10 Inst: Haya Sammaneh. Example Instance of Students Relation  Cardinality = 3, degree = 5, all rows distinct.
E/R Exercises – Part I April 16, 2017.
Sept ER-to-Relational Mapping Principles ER-to-Relational Mapping And examples.
Carnegie Mellon Carnegie Mellon Univ. Dept. of Computer Science Database Applications C. Faloutsos E-R diagrams.
Entity PrimaryKey Attribute relationship Cardinality: zero to many Cardinality: one and only one Cardinality: one to many Explanation Entity Relationship.
The (min,max) notation (1,1) (0,1) (1,N) (1,1). SUMMARY OF ER-DIAGRAM NOTATION FOR ER SCHEMAS Meaning ENTITY TYPE WEAK ENTITY TYPE RELATIONSHIP TYPE IDENTIFYING.
Master Schedule Building What Building Principals Need To Know.
Entity Relationship Model Chapter 6. Basic Elements of E-R Model Entity Object of the real world that stores data. Eg. Customer, State, Project, Supplier,
COURSE REGISTRATION SYSTEM Case study IST2101. Case Study: Course Registration (1) IST2102 You are helping Penn State create a course registration system.
Data Modeling using Entity Relationship Diagramming (ERD)
1 Data Modeling : ER Model Lecture Why We Model  We build models of complex systems because we cannot comprehend any such system in its entirety.
INFO415: Systems Analysis INFORMATION X Activity Diagrams.
Instructor :Huda Al-Omair
CSET 3300 Databases & ER Data Models. Databases A database is a collection of data (information). A DataBase Management System (DBMS) is a software system.
Your Program Evaluation in WebAdvisor June
1 What Happens After High School? Access Office St. Louis Community College at Meramec G:CEACCESS:Presents:SSDPresent.
©Silberschatz, Korth and Sudarshan1Database System Concepts - 6 th Edition E-R Diagram for a University Enterprise.
ER Data Models Ctd. CSET 3300.
Instructor: Dema Alorini Database Fundamentals IS 422 Section: 7|1.
REQUIREMENTS CAPTURE 1 ASU Course Registration Domain Model.
Specifying Software Component Frameworks using UML and OCL H. Conrad Cunningham Yi Liu Software Architecture Research Group Dept. of Computer & Information.
Database Design 3: Advanced Data Modeling Concepts CS 320.
The Hong Kong University of Science and Technology COMP3311 Spring 2013 Tutorial 1 ER Diagrams.
COMP231 Tutorial 1 ER Model and ER to Relational Schema.
Weak Entity Sets A weak entity is an entity that cannot exist in a database unless another type of entity also exists in that database. Weak entity meets.
advanced data modeling
IT2005 System Analysis & Design
IS 312: Information Systems for Business Discussion Chapter 3.
REQUIREMENTS CAPTURE 1 ASU Course Registration Domain Model.
Introduction to Database Systems
Database Design. Database Design Process Data Model Requirements Application 1 Database Requirements Application 2 Requirements Application 4 Requirements.
Howard Paul. Sequential Access Index Files and Data File Random Access.
Cross-Listed Classes vs. Combined Section Only Cross-Listed Classes Combined at Catalog level (share course ID #) Share the same course title, description,
Database System Concepts, 6 th Ed. ©Silberschatz, Korth and Sudarshan See for conditions on re-usewww.db-book.com Chapter 7: Entity-Relationship.
Test SEITA.
Student Responsibilities. Advising  To consult their advisors on all matters pertaining to their academic careers, including changes in their programs.
Contents Design Process Modeling Constraints E-R Diagram Design Issues
Entity/Relationship Modelling
Data Modeling Using the ERD
The Entity-Relationship Model
The Relational Model.
Chapter 7 Entity-Relationship Model
Outline of the ER Model By S.Saha
Entity-Relationship Modeling
Chapter 5 STUDENT-COURSE
Relational Schemas Classroom (building, room-number, capacity) Department (dept-name, building, budget) Course (course-id, title, dept-name, credits) Instructor.
ER Modeling Case Studies
Conceptual data modeling
Order Database – ER Diagram
Data Modeling with Entity Relationship Diagrams (Cont.)
Entity Relationship Model
Chapter 2 Modeling Data in the Organization
CS4222 Principles of Database System
Faloutsos - Pavlo C. Faloutsos - A. Pavlo Lecture#2: E-R diagrams
From data needs to ER Model to relational DB Schema
ER Modeling Case Studies
ER Modeling Case Studies
Marvel College Appendix A.
COURSE ADDITION: Context
Chapter 7: Entity-Relationship Model
Question Which of the following plays an important role in representing information about the real world in a database? Explain briefly 1)DDL.
This is an example of Object-Oriented Modeling diagram.
CLOSURE OF COURSES AT KFUPM
Electronic Census Rosters
Electronic Census Rosters
Presentation transcript:

Example A university registrar’s office maintains data about the following entities: (a) courses, including number, title, credits, syllabus, and prerequisites; (b) course offerings, including course number, year, semester, section number, instructor(s), timings, and classroom; (c) students, including student-id, name, and program; and (d) instructors, including identification number, name, department, and title. Further, the enrollment of students in courses and grades awarded to students in each course they are enrolled for must be appropriately modeled. Construct an E-R diagram for the registrar’s office.Document all assumptions that you make about the mapping constraints. Sunday, January 13, 2019Sunday, January 13, 2019

Entity sets student ---- sid, name, program instructor --- id, name, dept, title course --- syllabus, courseno, title, credits, prerequisites course-offering --- secno, year, semester, time, room course-offering is a weak entity set dependent on course Sunday, January 13, 2019Sunday, January 13, 2019

Relationship sets enrols --- each student can enroll in several courses, grade must be kept relationship attribute --- grade teaches --- an instructor can teach several sections is-offered --- multiple sections of a course may be offered requires --- prerequisite, maincourse Sunday, January 13, 2019Sunday, January 13, 2019

Sunday, January 13, 2019Sunday, January 13, 2019

Reducing the E-R diagram to tables Entities student table course sid name program courseno title syllabus credits Sunday, January 13, 2019Sunday, January 13, 2019

instructor course-offerings iid name dept title courseno secno year semester time room Sunday, January 13, 2019Sunday, January 13, 2019

Relationships enrols teaches requires sid courseno secno semester year grade courseno secno semester year iid maincourse prerequisite Sunday, January 13, 2019Sunday, January 13, 2019