Database Design II (Case Studies: Step 2) IST 210: Organization of Data IST2101.

Slides:



Advertisements
Similar presentations
ER Model For a college DB
Advertisements

SQL Database for a Book Store Clinton McKay. Explanation The database contains information about the books held in stock, their authors, publishers, customers,
Example 2 – Schemas ES1 and ES2 Student(studentId, name, address, tutorId) Staff(tutorId, name, deptName) Lecturer(lecturerId, name, deptName) Course(courseId,
Online Course Withdrawal
Lab Exercise This Week PHP Basics See last Friday’s slides for requirements Make sure you show the final results to TA to get credit 1IST210.
Draw an ER Diagram for the following (record any assumptions):
Dr. Mahmut Parlar Bus Q600 (EC01) Tue., 7:00 p.m. Course Materials & Resources.
Data Modeling with ERD ISYS 363. Entity-Relationship Diagram An entity is a “thing” in the real world, such as a person, place, event for which we intend.
Case study Lisa’s Bookstore IST210.
COURSE REGISTRATION SYSTEM Case study IST2101. Case Study: Course Registration (1) IST2102 You are helping Penn State create a course registration system.
School of Business Administration
CSE 441: Systems Analysis & Design
CHAPTER 2. FUNDAMENTAL OF ENTITY RELATIONSHIP (ER)
DATABASE DESIGN I IST 210: Organization of Data IST210 1.
IST 210: ORGANIZATION OF DATA Chapter 1. Getting Started IST210 1.
Normalization Process: Exercise 1: Step 1 IST2101 Step 1. Identify all the candidate keys of the relation. StudentNumber.
SQL 101 for Web Developers 14 November What is a database and why have one? Tables, relationships, normalization SQL – What SQL is and isn’t – CRUD:
Students who use Connect & LearnSmart are proven to be more successful in the course and receive higher grades than their peers not using Connect. Want.
©Silberschatz, Korth and Sudarshan1Database System Concepts - 6 th Edition E-R Diagram for a University Enterprise.
1 Mathematical Relation A mathematical relation is a subset of a Cartesian Product. A1  A2  A3  …  An = {(x1, x2, x3, …, xn): xi  Ai} R  A1  A2.
Entity-Relationship Model. Entity-Relationship Mode What is it? What is it? –Technique for developing an informal organization of tables How does it work?
Chapter 2. The Relational Model IST2101. Chapter 1 Review Potential problems with Lists – Deletion – Update – Insertion Avoid these problems using a relational.
Национальная процедура одобрения и регистрации проектов (программ) международной технической помощи (исключая представление информации об организации и.
Database Fundamentals Lecture 4 Useful website for MySQL download language.com/workshops/Default.asp ?workshop=21.
Constraints - primary and foreign keys in Oracle Please use speaker notes for additional information!
IE 423 – Design of Decision Support Systems Data modeling and database development.
Registering for MasteringEngineering TM
Chapter 2. The Relational Model (cont.)
Registering for MasteringEngineering TM
THE RELATIONAL MODEL II IST 210: Organization of Data IST210 1.
Group Members: Tien Ho Linda Early Steve Meeks. Who Dunnit Bookstore System Request  Project Sponsor: Thomas Jones, Owner of WhoDunnit Bookstore  Phone:
Database for online bookstore Yaxian Yao
Assignment 1 Uploaded to course website Due next Tuesday, Sep 1, at 11:59pm.
Database Design I (In-Class Exercise Answer) IST 210: Organization of Data IST2101.
THE RELATIONAL MODEL I IST 210: Organization of Data IST210 1.
ZAPS: The Norton Psychology Labs STUDENT REGISTRATION INSTRUCTIONS.
Howard Paul. Sequential Access Index Files and Data File Random Access.
IST 220 – Intro to DB Lecture 4 Database Design thru ER Modeling.
IST 220 – Intro to Databases Database Design I. DB Design – Sports League The league needs to keep track of Teams Players Coaches Sponsors How many tables.
IE 423 – Design of Decision Support Systems Data modeling and database development.
Data Modeling with ERD ISYS 363.
Data Modeling AND ER MODELS.
Data Modeling and Entity-Relationship Model I
Database Design I IST 210: Organization of Data IST2101.
Chapter 1. Getting Started IST 210: Organization of Data IST2101.
DATA MODELING AND ENTITY-RELATIONSHIP MODEL II IST 210: Organization of Data IST210 1.
DATABASE DESIGN II IST 210: Organization of Data IST210 1.
Database Design I (In-Class Exercise Answer) IST 210: Organization of Data IST2101.
Order Database – ER Diagram
MySQL S511.
IST 210: Organization of Data
DBMS LAB SESSION Pavan Kumar M.P B.E ,M.Sc(Tech) by Research,(Ph.D)
Order Database – ER Diagram
Chapter 5 STUDENT-COURSE
LAB3:Database Users & Project description
Information needed for citing sources:
Premier’s Reading Challenge INDONESIAN Competition 2017
Bookstore DB Requirements
First and last name D E P T O F L First and last name A B R Y M
Date, location, department
Date, location, department
Databases.
MySQL.
Name of Event Name of Event
Department | Website | Phone Number
MySQL S511.
Name of Event Name of Event Date, location, department
Conceptual modeling of databases
NAME OF EVENT Name of Speaker Date, location, department
Title: Date: Cause: Event: Effect: Title: Title: Title: Date: Cause:
Presentation transcript:

Database Design II (Case Studies: Step 2) IST 210: Organization of Data IST2101

COURSE REGISTRATION SYSTEM Case study IST2102

3 STUDENT(StudentID, Name, , DepartName) DEPARTMENT(DepartName, Building, Phone) COURSE(CourseID, CourseName, Instructor, DepartName) GRADE(StudentID, CourseID, Grade)

IST2104 STUDENT(StudentID, Name, , DepartName) DEPARTMENT(DepartName, Building, Phone) COURSE(CourseID, CourseName, Instructor, DepartName) GRADE(StudentID, CourseID, Grade) Column NameData TypeKeyRequiredRemarks DepartName Building Phone DEPARTMENT

IST2105 STUDENT(StudentID, Name, , DepartName) DEPARTMENT(DepartName, Building, Phone) COURSE(CourseID, CourseName, Instructor, DepartName) GRADE(StudentID, CourseID, Grade) Column NameData TypeKeyRequiredRemarks StudentID Name DepartName STUDENT

IST2106 STUDENT(StudentID, Name, , DepartName) DEPARTMENT(DepartName, Building, Phone) COURSE(CourseID, CourseName, Instructor, DepartName) GRADE(StudentID, CourseID, Grade) Column NameData TypeKeyRequiredRemarks CourseID CourseName Instructor DepartName COURSE

IST2107 STUDENT(StudentID, Name, , DepartName) DEPARTMENT(DepartName, Building, Phone) COURSE(CourseID, CourseName, Instructor, DepartName) GRADE(StudentID, CourseID, Grade) Column NameData TypeKeyRequiredRemarks StudentID CourseID Grade GRADE

LISA’S BOOKSTORE Case study IST2108

9 PUBLISHER(PublisherName, Location, Phone) BOOK(BookID, Title, Year, PublisherName) AUTHOR(AuthorID, Name, Country) BOOK_AUTHOR(BookID, AuthorID) PURCHASE(PurchaseID, Price, Date, BookID, Address) CUSTOMER( Address, Name, Address, Phone) EVENT(EventID, Name, Date, Type) CUSTOMER_EVENT( Address, EventID) E-R diagram is transformed into a database with 8 tables

IST21010 PUBLISHER(PublisherName, Location, Phone) BOOK(BookID, Title, Year, PublisherName) AUTHOR(AuthorID, Name, Country) BOOK_AUTHOR(BookID, AuthorID) PURCHASE(PurchaseID, Price, Date, BookID, Address) CUSTOMER( Address, Name, Address, Phone) EVENT(EventID, Name, Date, Type) CUSTOMER_EVENT( Address, EventID) Column NameData TypeKeyRequiredRemarks PublisherName Location Phone PUBLISHER

IST21011 PUBLISHER(PublisherName, Location, Phone) BOOK(BookID, Title, Year, PublisherName) AUTHOR(AuthorID, Name, Country) BOOK_AUTHOR(BookID, AuthorID) PURCHASE(PurchaseID, Price, Date, BookID, Address) CUSTOMER( Address, Name, Address, Phone) EVENT(EventID, Name, Date, Type) CUSTOMER_EVENT( Address, EventID) Column NameData TypeKeyRequiredRemarks BookID Title Year PublisherName BOOK

IST21012 PUBLISHER(PublisherName, Location, Phone) BOOK(BookID, Title, Year, PublisherName) AUTHOR(AuthorID, Name, Country) BOOK_AUTHOR(BookID, AuthorID) PURCHASE(PurchaseID, Price, Date, BookID, Address) CUSTOMER( Address, Name, Address, Phone) EVENT(EventID, Name, Date, Type) CUSTOMER_EVENT( Address, EventID) Column NameData TypeKeyRequiredRemarks AuthorID Name Country AUTHOR

IST21013 PUBLISHER(PublisherName, Location, Phone) BOOK(BookID, Title, Year, PublisherName) AUTHOR(AuthorID, Name, Country) BOOK_AUTHOR(BookID, AuthorID) PURCHASE(PurchaseID, Price, Date, BookID, Address) CUSTOMER( Address, Name, Address, Phone) EVENT(EventID, Name, Date, Type) CUSTOMER_EVENT( Address, EventID) Column NameData TypeKeyRequiredRemarks BookID AuthorID BOOK_AUTHOR

IST21014 PUBLISHER(PublisherName, Location, Phone) BOOK(BookID, Title, Year, PublisherName) AUTHOR(AuthorID, Name, Country) BOOK_AUTHOR(BookID, AuthorID) PURCHASE(PurchaseID, Price, Date, BookID, Address) CUSTOMER( Address, Name, Address, Phone) EVENT(EventID, Name, Date, Type) CUSTOMER_EVENT( Address, EventID) Column NameData TypeKeyRequiredRemarks Address Name Address Phone CUSTOMER

IST21015 PUBLISHER(PublisherName, Location, Phone) BOOK(BookID, Title, Year, PublisherName) AUTHOR(AuthorID, Name, Country) BOOK_AUTHOR(BookID, AuthorID) PURCHASE(PurchaseID, Price, Date, BookID, Address) CUSTOMER( Address, Name, Address, Phone) EVENT(EventID, Name, Date, Type) CUSTOMER_EVENT( Address, EventID) Column NameData TypeKeyRequiredRemarks PurchaseID Price Date BookID Address PURCHASE

IST21016 PUBLISHER(PublisherName, Location, Phone) BOOK(BookID, Title, Year, PublisherName) AUTHOR(AuthorID, Name, Country) BOOK_AUTHOR(BookID, AuthorID) PURCHASE(PurchaseID, Price, Date, BookID, Address) CUSTOMER( Address, Name, Address, Phone) EVENT(EventID, Name, Date, Type) CUSTOMER_EVENT( Address, EventID) Column NameData TypeKeyRequiredRemarks EventID Name Date Type EVENT

IST21017 PUBLISHER(PublisherName, Location, Phone) BOOK(BookID, Title, Year, PublisherName) AUTHOR(AuthorID, Name, Country) BOOK_AUTHOR(BookID, AuthorID) PURCHASE(PurchaseID, Price, Date, BookID, Address) CUSTOMER( Address, Name, Address, Phone) EVENT(EventID, Name, Date, Type) CUSTOMER_EVENT( Address, EventID) Column NameData TypeKeyRequiredRemarks Address EventID CUSTOMER_EVENT