2141-W2013 Mid-term Prep. Next week Monday, Feb 18 – Midterm Covers everything before normalization Wednesday, Feb 20 – Ass 3 (normalization) due – Wrap.

Slides:



Advertisements
Similar presentations
ER to Relational Mapping. Logical DB Design: ER to Relational Entity sets to tables. CREATE TABLE Employees (ssn CHAR (11), name CHAR (20), lot INTEGER,
Advertisements

Relational Database Design Via ER Modelling
Data Bits Models Classes & Schemes Rows & Tables Keys Associations $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 Final DataBit.
Feb 4: Recap of Jan 30 class Data Models: E-R and Relational (and some others of mostly historical interest) We examined the E-R model –Entities, Relationships,
The Relational Database Model
Fundamentals, Design, and Implementation, 9/e COS 346 Day 8.
1 Class Agenda – 09/20/2011  Answer questions about exam  Evaluate database design homework  Review database design homework for syntax and logic 
Entity Relationship Diagrams
The Relational Database Model. 2 Objectives How relational database model takes a logical view of data Understand how the relational model’s basic components.
3 1 Chapter 3 The Relational Database Model Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Chapter 3 © 2005 by Prentice Hall 1 Objectives Definition of terms Definition of terms Importance of data modeling Importance of data modeling Write good.
Michael F. Price College of Business Chapter 6: Logical database design and the relational model.
1 Nassau Community CollegeProf. Vincent Costa Acknowledgements: Introduction to Database Management, All Rights ReservedIntroduction to Database Management.
Introduction to Databases
The Relational Database Model
3 The Relational Model MIS 304 Winter Class Objectives That the relational database model takes a logical view of data That the relational model’s.
© 2007 by Prentice Hall (Hoffer, Prescott & McFadden) 1 Entity Relationship Diagrams (ERDs)
Chapter 3: Modeling Data in the Organization
Chapter 4 The Relational Model.
IS 325 Notes for Wednesday September 18, 2013.
Systems Analysis and Design in a Changing World, Thursday, Feb 22
MIS 385/MBA 664 Systems Implementation with DBMS/ Database Management Dave Salisbury ( )
Conversion from ER diagram to relational model
Concepts and Terminology Introduction to Database.
DBSQL 3-1 Copyright © Genetic Computer School 2009 Chapter 3 Relational Database Model.
Normalization (Codd, 1972) Practical Information For Real World Database Design.
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 CS 3630 Database Design and Implementation. 2 Sets Foundation of relational database. Basic Operations Power set Mapping.
The Relational Database Model
1 The Relational Database Model. 2 Learning Objectives Terminology of relational model. How tables are used to represent data. Connection between mathematical.
© 2011 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 2: Modeling Data in the Organization.
IS 475/675 - Introduction to Database Design
3 1 Chapter 3 The Relational Database Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
CIS 210 Systems Analysis and Development Week 6 Part II Designing Databases,
IE 423 – Design of Decision Support Systems Data modeling and database development.
11/07/2003Akbar Mokhtarani (LBNL)1 Normalization of Relational Tables Akbar Mokhtarani LBNL (HENPC group) November 7, 2003.
Relational Algebra – Part 2
Chapter 9: Logical Database Design and the Relational Model (ERD Mapping)
1 © Prentice Hall, 2002 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B.
An Entity Relationship (ER) Diagram is a graphic that shows the interrelationship between entities in a database.
1 Conceptual Design using the Entity- Relationship Model.
Week 7-8 DBMS ER-Relational Mapping. ER-Relational Mapping.
1. Explain the DBMS with its Components and Describe the various functions of DBMS? 2. Define the term DBA. Explain the various Roles of Database Administrator?
3 1 Database Systems The Relational Database Model.
Chapter 3: Modeling Data in the Organization. Business Rules Statements that define or constrain some aspect of the business Assert business structure.
1 © Prentice Hall, 2002 ITD1312 Database Principles Chapter 4B: Logical Design for Relational Systems -- Transforming ER Diagrams into Relations Modern.
3 1 Chapter 3 The Relational Database Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
IE 423 – Design of Decision Support Systems Data modeling and database development.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 3: Modeling Data in the Organization Modern Database Management 9 th Edition Jeffrey.
Week 2 Lecture The Relational Database Model Samuel ConnSamuel Conn, Faculty Suggestions for using the Lecture Slides.
Lecture 5 Data Model Design Jeffery S. Horsburgh Hydroinformatics Fall 2012 This work was funded by National Science Foundation Grant EPS
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
Logical Database Design and the Rational Model
The Relational Database Model
Chapter 2: Relational Model
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.
Data Models.
Lecture 2 The Relational Model
CIS 336 PAPERS Lessons in Excellence-- cis336papers.com.
CIS 336 STUDY Education for Service-- cis336study.com.
The 1:M Relationship (continued)
CHAPTER 4: LOGICAL DATABASE DESIGN AND THE RELATIONAL MODEL
Review of Week 1 Database DBMS File systems vs. database systems
The Relational Database Model
DCT 2053 DATABASE CONCEPT Chapter 2.2 CONTINUE
DBMS ER-Relational Mapping
Database Dr. Roueida Mohammed.
CS4222 Principles of Database System
Presentation transcript:

2141-W2013 Mid-term Prep

Next week Monday, Feb 18 – Midterm Covers everything before normalization Wednesday, Feb 20 – Ass 3 (normalization) due – Wrap up normalization Friday, Feb 22 – Quiz 3 (normalization) – Set the stage for after spring break

Core database concepts Database records Attributes and their domains Rows must be unique Keys: super, candidate, primary foreign What are the anomalies trying to avoid: – Deletion/insertion/update

Conceptual Database Design How to take a description of a real-world rules and create an ER diagram – Specify cardinality/ordinality of a relationship – The differences between entities, attributes, and relationships (and when you might want to promote an attribute to an entity or a relationship to an associative entity) – How to indicate the primary key

Logical Database design How to convert an ER diagram to the appropriate set of tables – What are the rules for creating tables For entities For relationships of different cardinalities (1-1, 1-many, many-to-many) For relationships of different modalities (unary, binary, ternary, etc.)

Relational Algebra Core operations – Select – Project – Rename – Union – Intersection – Set difference – Division – Cartesian product – Natural join – Conditional join (theta) The format of the operation Union compatibility The schema of the relationship returned The data in the relationship returned How to parse a query How to form a query High level notion of efficiency

Midterm format ~ 5 short and snappy – Multiple choice – Compare/contrast/T or F and explain ER diagram ER diagram to tables Relational algebra – As in quiz: Do you know the basic mechanics Can you parse what a query does Can you create a query to achieve a goal Approximate weights 20% basic concepts 20% ER diagram 20% ER diagram to tables 40% Relational algebra Chinese menu?

Strategies Go for partial points – Show your work – Use comments Explain what you are trying to achieve Provide your interpretation State any assumptions – Be neat – highlight (put a box around it) your final result if you have a lot of attempts – Use parentheses to help show your logic – Use partial steps and assign them to relations if it helps you think about it (R1 = ___), but make sure that it is clear what you are doing and how the pieces then fit together Be succinct

Relational Algebra Do you know all the relations needed Do you know the output needed (final projection/selection) Do you know how to combine the parts