XP Class Objectives – 9/10 and 9/12 Learn how to design a small database Understand the goals of a database Understand the terminology of database design.

Slides:



Advertisements
Similar presentations
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Advertisements

BUSINESS DRIVEN TECHNOLOGY Plug-In T4 Designing Database Applications.
The Relational Model Chapter Two. 2 Chapter Objectives Learn the conceptual foundation of the relational model Learn the conceptual foundation of the.
Chapter 7 UNDERSTANDING AND DESIGNING FORMS. Input Forms: Content and Organization Need for forms Event analysis and forms Relationship between input.
1 Basic DB Terms Data: Meaningful facts, text, graphics, images, sound, video segments –A collection of individual responses from a marketing research.
Agenda for Week 1/31 & 2/2 Learn about database design
The Relational Database Model:
WELL-DESIGNED DATABASES Process faster Easy to develop and maintain Easy to read and write code.
Professor Michael J. Losacco CIS 1150 – Introduction to Computer Information Systems Databases Chapter 11.
Chapter 12 Information Systems. 2 Chapter Goals Define the role of general information systems Explain how spreadsheets are organized Create spreadsheets.
Transforming Data Models into Database Designs
Databases Creating databases to store information.
Databases & Data Warehouses Chapter 3 Database Processing.
Relational Database Need to Knows. What is a database? Data - is just a pile of numbers or stats. A business "organises" the data to be meaningful and.
Database Applications – Microsoft Access Lesson 2 Modifying a Table and Creating a Form 45 slides in presentation Accessibility check 9/14.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Access 2007 Database Application Managing Business Information Effectively BCIS 1 and 2.
Course Learning Process 1 Course objectives Visualization methods; systems development process Systems development tools: Access and Excel Methods to learn.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Class Agenda – 09/03/ Answer questions about course logistics Access Chapter 1 Grader Project and Quiz 1 reminders Present computer data organization.
Introduction to database systems
1 Class Agenda (11/07 and 11/12)  Review HW #8 answers  Present normalization process Enhance conceptual knowledge of database design. Improve practical.
Class Agenda – 09/09/ Finish presenting Information Visualization Review logistics of course including course file placement/Where to seek help Team.
Concepts of Database Management, Fifth Edition Chapter 1: Introduction to Database Management.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
MIS 301 Information Systems in Organizations Dave Salisbury ( )
CSC 240 (Blum)1 Introduction to Database. CSC 240 (Blum)2 Data versus Information When people distinguish between data and information, –Data is simply.
Relational Databases (MS Access)
Copyright 2008 McGraw-Hill Ryerson 1 TECHNOLOGY PLUG-IN T5 DESIGNING DATABASE APPLICATIONS.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T5: Designing Database Applications Business Driven Technology.
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
Storing Organizational Information - Databases
Access Chapter 2: Relational Database Objectives Design data Create tables Understand table relationships Understand data types, key, & field properties.
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
CIS 210 Systems Analysis and Development Week 6 Part II Designing Databases,
Fanny Widadie, S.P, M.Agr 1 Database Management Systems.
Copyright 2006 Prentice-Hall, Inc. Essentials of Systems Analysis and Design Third Edition Joseph S. Valacich Joey F. George Jeffrey A. Hoffer Chapter.
Database Application Design and Data Integrity AIMS 3710 R. Nakatsu.
+ Information Systems and Databases 2.2 Organisation.
Chapter 10 Designing the Files and Databases. SAD/CHAPTER 102 Learning Objectives Discuss the conversion from a logical data model to a physical database.
1 Technology in Action Chapter 11 Behind the Scenes: Databases and Information Systems Copyright © 2010 Pearson Education, Inc. Publishing as Prentice.
Relational Theory and Design
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved CHAPTER 6 DATABASES AND DATA WAREHOUSES CHAPTER 6 DATABASES AND DATA WAREHOUSES.
Concepts of Database Management Seventh Edition Chapter 1 Introduction to Database Management.
Microsoft Office 2013: In Practice Chapter 2 Using Design View, Data Validation, and Relationships Copyright © 2014 by The McGraw-Hill Companies, Inc.
Lesson 2: Designing a Database and Creating Tables.
Planning & Creating a Database By Ms. Naira Microsoft Access.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
1 DATABASE TECHNOLOGIES (Part 2) BUS Abdou Illia, Fall 2015 (September 9, 2015)
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin APPENDIX C DESIGNING DATABASES APPENDIX C DESIGNING DATABASES.
XP Class Agenda – 09/05/2013 Answer questions about the course logistics for tutorials and assignments. Reminder about team declaration. Present concepts.
1 Class Agenda (04/06/2006 and 04/11/2006)  Discuss use of Visio for ERDs  Learn concepts and ERD notation for data generalization  Introduce concepts.
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.
Understand Relational Database Management Systems Software Development Fundamentals LESSON 6.1.
Alighieri: Introduction to MS Access 1 What is a Database? RELATIONAL DATABASE A database is an organized collection of information. A database is designed.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 5 (Part a): Logical Database Design and the Relational Model Modern Database Management.
1 6 Concepts of Database Management, 5 th Edition, Pratt & Adamski Chapter 6 Database Design 2: Design Methodology Spring 2006.
Logical Database Design and Relation Data Model Muhammad Nasir
1 10 Systems Analysis and Design in a Changing World, 2 nd Edition, Satzinger, Jackson, & Burd Chapter 10 Designing Databases.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
1 Management Information Systems M Agung Ali Fikri, SE. MM.
Class Agenda – 02/03/2014 Finish presenting Information Visualization
Tables and Their Characteristics
Introduction to Database Systems
CHAPTER 4: LOGICAL DATABASE DESIGN AND THE RELATIONAL MODEL
Databases and Information Management
Presentation transcript:

XP Class Objectives – 9/10 and 9/12 Learn how to design a small database Understand the goals of a database Understand the terminology of database design Learn how to read a database design diagram Know how to create a database design diagram Implement a small custom database in MS Access Take a database design diagram and implement the resulting database in MS Access Create tables Create attributes with correct data types Create relationships and referential integrity constraints 1

XP Help available Your books!!!! Online help via Access and Excel Google (or other favorite search engine) Teaching Assistant (Robert Dittmer) Office hours: Monday andWednesday 10AM-noon Professor (Dana Edberg) Office hours: TR 1:15-2:15PM, 4-5PM 2

XP Questions for a systems developer What am I trying to accomplish by using a computer? Are you: Keeping track of lots of information for organization, customer, government, investor? Making processes more efficient requiring less labor? Facilitating decision making? Presenting information in a more readable, attractive format? What is the best way to accomplish your goals? Database management system? Spreadsheet? Web front end? Custom developed programs? Combination? 3

XP Book Example: Belmont Landscapes Company provides landscape architecture services including analyzing sites, developing plans and performing construction work. Wants to have a way to keep track of the work that will be done for customers (“contracts”) and then have a way to charge those customers (“invoices”) once the work has been completed. 4

Spreadsheet or Database for Belmont Landscapes? 5 Decision Issue Spreadsheet (Excel) Database (Access) Ability to maintain accurate data Limited. Completely dependent on user for accurate input. Excellent. Many filters/constraints available to protect data accuracy. Ease of showing data in different formats Limited. Can make small color changes to basic spreadsheet. Excellent. Very flexible. Data entered once can be viewed in many different formats. Ease of doing calculations Excellent. Statistics, financial functions available. Limited. Can do calculations, but only basic math. Difficulty of learning/using product Excellent. Easy to learn.Difficult to learn. Necessity for pre- planning Not much planning required. Must plan/design the database in advance.

XP Why do we store data in a database? To protect the “integrity” of the data. Make data accurate. Reduce data redundancy. To make data more accessible. Enhance flexibility of data access methods. Improve speed of data access. To make an application more adaptable. Provide more flexibility in application development. Decrease dependence on a given visualization method. 6

Examine the contract “spreadsheet” Review data content. What is the application? What is the purpose of the stored data? Is any of the data redundant? Why might redundant data be a problem? 7

8

XP Vocabulary lesson - 1 Table: A two-dimensional database object used to store data. Row: One “entry” of data within the table. Must have a primary key that has a different value than all other rows of data within the table Column: A field used to store data. Must have a single data type. Cell: An intersection of a row and column. Can only have one data type and one value. 9

XP Vocabulary lesson - 2 Entity (when implemented it is called a “table”): A person, place, or thing about which we store data. Example is a Customer for Belmont Landscapes. Entity instance(also called a “record” or “row”): One instance of an entity that includes all data stored about that instance. Example is “Anthony Rodriquez” for Belmont. Attribute (also called a “field” or “column”): A characteristic of the entity about which we store data. Examples are Company, FirstName, Lastname for a Customer entity. 10

XP Process for Designing Databases Identify all the fields needed to produce the required information Divide each piece of data into its smallest useful part Example 1: Break up a name into first, last, initial Example 2: Break up an address into street, city, state, zip Group related fields into tables. Start with the “strong” tables. Use an entity-relationship diagram (ERD) to depict the design Determine each table’s primary key Identify how the tables are related (or if they are related) Include a common field in related tables (foreign key) Determine the properties of each field Type of data: Text, date, number, etc. Size of data Name of data 11

Contract Data 12

Group (sub-divide) the customer data 13

Group (sub-divide) the invoice data 14

XP What is a primary key? Definition Examples “Natural” vs. “Surrogate” 15

Define keys and relationships 16

What does it look like in Access? 17

XP What is a foreign key? Definition Example Depiction on diagrams 18

XP What is referential integrity? Definition: A constraint to enforce consistency between parent and child tables in a database. “Constraint”: A limit; a set of pre-defined rules. Conceptual example: Contract and customer. Implementation in Access example Create after a table has been created through the relationship diagram. Create while the table is being created through the use of a Lookup wizard. 19