U:/msu/course/cse/103 Day 17, Slide 1 CSE 103 Housekeeping: –Take a makeup BT this week if not passed the 2.0 yet –Next.

Slides:



Advertisements
Similar presentations
E-books and E-journals Off-campus This presentation will show you how to log in and access Oxford Brookes Library e-books and e-journals when youre off.
Advertisements

E-books and E-journals Off-campus This presentation will show you how to log in and access Oxford Brookes Library e-books and e-journals when youre off.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module J (Office 2010 Version) Implementing.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module J (Office 2010 Version) Implementing.
Copyright © 2015 Pearson Education, Inc. Database Design Chapters 17 and
8 June Single table database in normal form Fields and records Normal form 1.Header in the first line 2.Same content for every field 3.Each record.
Concepts of Database Management Sixth Edition
ISP 121 Access Normalization and Relationships. Normalization Say we’re operating a pet day-care and we need to keep information on our pets/customers.
1 Class Agenda – 09/20/2011  Answer questions about exam  Evaluate database design homework  Review database design homework for syntax and logic 
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
SUNY Morrisville-Norwich Campus-Week 10 CITA 130 Advanced Computer Applications II Spring 2005 Prof. Tom Smith.
From Class Diagrams to Databases. So far we have considered “objects” Objects have attributes Objects have operations Attributes are the things you record.
1 CSE Students: Please do not log in yet. Check-in with Brian in the back. Review Days 3 and 4 in the book. Others: Please save your work and logout.
Entity-Relationship Model and Diagrams (continued)
U:/msu/course/cse/103 Day 16, Slide 1 CSE 103 Day 16 Students: Read Day 10. If you are logged in, add records to your contacts.
COMPREHENSIVE Access Tutorial 2 Building a Database and Defining Table Relationships.
U:/msu/course/cse/103 Day 23, Slide 1 Review of Day 22 What query did you use to search for an actor by name? –Return matches.
Attribute databases. GIS Definition Diagram Output Query Results.
Journalizing INVENTORY-Related Transactions Slideshow 8 B.
Define Table Relationships—1 of 3 One of the most powerful features of a relational database management system, such as Access, is its ability to define.
Chapter 5 UNDERSTANDING AND DESIGNING ACCOUNTING DATA.
© Paradigm Publishing, Inc Access 2010 Level 2 Unit 1Advanced Tables, Relationships, Queries, and Forms Chapter 2Building Relationships and Lookup.
U:/msu/course/cse/103 Day 25, Slide 1 Back-up PHP Files If you have not yet passed the 3.0 BT, make back-up copies of ALL.
U:/msu/course/cse/103 Day 10, Slide 1 Multiple Table Database Review What are entities? What are records ? What are attributes?
U:/msu/course/cse/103 Day 04, Slide 1 CSE students: Do not log in yet. Computers are SLOW today! Review days 13.
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
RELATIONSHIPS Generally there are two main database types: flat-file and relational.
Database Technology and Church Management MSCM 8630 IT for Church Management Dr. Wagner October 9, 2008.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
U:/msu/course/cse/103 Day 07, Slide 1 Day 15 Review What datatype would be an appropriate choice for: –A cell phone number.
U:/msu/course/cse/103 Day 06, Slide 1 CSE students: Do not log in yet. Review Day 6 in your textbook. Think about.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T6: Basic Skills and Tools Using Access 2010 Business Driven Technology.
1 Relational Databases and SQL. Learning Objectives Understand techniques to model complex accounting phenomena in an E-R diagram Develop E-R diagrams.
1 CSE 103 Section 002: M/W 10:20am-12:10pm 216 Berkey Hall Section 004: T/R 10:20am-12:10pm 1210 Anthony Hall.
Implementing an REA Model in a Relational Database
Enhancing Forms with OLE Fields, Hyperlinks, and Subforms – Project 5.
Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium Database Fundamentals Physical.
Microsoft Access 2013 Design and Implement Powerful Relational Databases Chapter 6.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T6 Basic Skills Using Access.
1 The Information School of the University of Washington Dec 1fit advdatabases © 2006 University of Washington Advanced Database Concepts INFO/CSE.
An Entity Relationship (ER) Diagram is a graphic that shows the interrelationship between entities in a database.
ENTITY RELATIONSHIP DIAGRAM ENTITY RELATIONSHIP DIAGRAM IS A SPECIALIZED GRAPHIC THAT ILLUSTRATES THE INTERRELATIONSHIPS BETWEEN ENTITIES IN A DATABASE.
Relational Theory and Design
CSC 240 (Blum)1 Introduction to Access CSC 240 (Blum)2 Click on the Access desktop icon or go to Start/Programs/Microsoft Office/Microsoft Office.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2007.
Access Forms 1. Forms Provide an easy way to Enter data Modify data View data 2.
BA271 Week 6 Lecture Dave Sullivan. Goal for today… Status Report – Review where we are … Status Report – Review where we are … Begin learning about Microsoft.
U:/msu/course/cse/103 Day 18, Slide 1 CSE 103 Day 18 If you are not enrolled in CSE 103, please save and log out by 10:10.
U:/msu/course/cse/103 Day 03, Slide 1 CSE 103 Day 15: Database Design Students: –Read Day 2 in your textbook –Your BT feedback.
U:/msu/course/cse/103 Day 21, Slide 1 CSE 103 Makeups –If you didn’t take one over the weekend, take one TUESDAY or WEDNESDAY!
Database Design Process For many businesses, the database is the most important set of computer files they have. For some, like EBay or Facebook, the database.
* Database is a group of related objects * Objects can be Tables, Forms, Queries or Reports * All data reside in Tables * A Row in a Table is a record.
U:/msu/course/cse/103 Day 08, Slide 1 CSE 103 Students: –Review days 7 and 8 if you need to go over relationships and INNER.
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module J (Office 2007 Version) Implementing.
Database Design Slide 1 Database Design Lecture 7 part 2 Mapping ERD to Tables.
Access Module Implementing a Database with Microsoft Access A Great Module on Your CD.
U:/msu/course/cse/103 Day 08, Slide 1 Debrief Homework What problems arose in trying to import the data from Classical_Music.xls?
Teanna Clarke 6aQ What is a Entity-Relationship Diagram?  An Entity-Relationship Diagram (ERD) is a tool that graphically shows the connections among.
MS Access. Most A2 projects use MS Access Has sufficient depth to support a significant project. Relational Databases. Fairly easy to develop a good user.
Decision Analysis Fall Term 2015 Marymount University School of Business Administration Professor Suydam Week 10 Access Basics – Tutorial B; Introduction.
Chapter 5 UNDERSTANDING AND DESIGNING ACCOUNTING DATA
CSE 103 Day 20 Jo is out today; I’m Carl
Revised: 2 April 2004 Fred Swartz
CSE 103 Day 15: Database Design
Entity Relationships and Normalization
Debrief Homework Import data from the text file CanadianUniversities06.txt into a temporary table. What is the primary key for this table? Construct an.
Presentation transcript:

U:/msu/course/cse/103 Day 17, Slide 1 CSE 103 Housekeeping: –Take a makeup BT this week if not passed the 2.0 yet –Next in-class one week from today –Today: Advanced Design. Review Days 2 and 10 in the book. –Remember: Office Hours MW 3-5, TR 2-4* in 1107 EB; Help Room MT 9-11pm in 120 CC * or by appointment (

U:/msu/course/cse/103 Day 17, Slide 2 Multiple Table Database Review What are entities? What are records ? What are attributes? How can you represent a 1:N (one-to- many) relationship? How can you represent an M:N (many-to- many) relationship?

U:/msu/course/cse/103 Day 17, Slide 3 MegaCorp Database Design a new database for inventory usage MegaCorp manufactures office furniture: –Bookcases, File Cabinets, Desks, Chairs Desks and Chairs come in three styles: –Contemporary, Traditional, Classic All furniture items have: –Color: beige, oak, walnut, mahogany, black –Size: depth, width, height (in inches, to hundredths) –Description, Item Number It is necessary also to keep a record of the number of each item in stock

U:/msu/course/cse/103 Day 17, Slide 4 Database Design Level 1 What questions do I want the database to answer? What data do I need to answer these questions? How are these data related to one another?

U:/msu/course/cse/103 Day 17, Slide 5 Database Design Level 2 What entities are involved? What attributes belong to each entity? How many of each attribute does each entity have? –Exactly one? –Exactly zero or one? –Anywhere from zero to two or more? Do any two or more entities have the same value for any attribute? What datatype should be used for each of the different attributes? What relationships exist between these entities? What type is each of these relationships?

U:/msu/course/cse/103 Day 17, Slide 6 Database Design Sequence Use a “Relational Database Diagram” with boxes and connecting lines to initially identify entities, attributes and relationships. Next convert boxes to tables and attributes to columns. Define primary keys. Implement each one-to-many relationship via the use of a foreign key in the “many” entity. Implement each many-to-many relationship via an extra “relationship table” which uses the pair of foreign keys as its primary key.

U:/msu/course/cse/103 Day 17, Slide 7 General Design Guidelines Database designing should be an iterative process. As difficulties appear at one stage, you may need to go back and refine or modify earlier stages. Try to reduce redundancies and dependencies (normalization). Finish the design before entering data!

U:/msu/course/cse/103 Day 17, Slide 8 Begin design Work with your groups. See slide 2 for specs. –Create a Relational Database Diagram (slide 5) and write out your tables on paper –Think about questions on slides 3-4 as you work –Elect group spokesperson to share design with rest of class; we’ll compare notes and come to agreement 10 minutes to work without our help 15 more minutes after that No need to put anything in Access yet (but you can if you finish the rest, just be prepared to change if needed)

U:/msu/course/cse/103 Day 17, Slide 9 MegaCorp Packages MegaCorp wants to sell suites/groupings of furniture items. Each suite consists of a variety of items in different quantities and has a suite name and a total price. An item may belong to any number of suites at the same time. Modify your design to handle “suites”. –Again use questions on slides 3-4 to guide you –Work on paper first, only go to Access if your group has reached agreement (again, be prepared to change) –10 minutes without help, then 10 more

U:/msu/course/cse/103 Day 17, Slide 10 Create your MegaCorp DB If you haven’t already, create a database called MegaCorp in your personal AFS space –If you already started one, you can rename it if you close Access Create tables as per discussion, with fields as shown –Use tbl_ prefix for table names –Select appropriate data types for every field –Set primary keys for every table –Field descriptions are optional

U:/msu/course/cse/103 Day 17, Slide 11 Homework Check the link on today’s classwork page for the homework for next class day. Highlights (check web page for full details) –Finish/check Megacorp DB design –Import data into Megacorp –Queries in Megacorp to test your import and understanding –HAVE THE IMPORT DONE BEFORE NEXT CLASS! with questions/problems.