CS251: Fundamentals of Database Systems 1. CS251: Fundamentals of Database Systems. Database Design Project. Trina VanderLouw

Size: px
Start display at page:

Download "CS251: Fundamentals of Database Systems 1. CS251: Fundamentals of Database Systems. Database Design Project. Trina VanderLouw"

Transcription

1 CS251: Fundamentals of Database Systems 1 CS251: Fundamentals of Database Systems Database Design Project Trina VanderLouw Professor Stephanie Fisher Colorado Technical University Online March 14, 2011 Highlights: File-based and Server-based Databases, Normalization and Redundancy, Relational Models and Entity Relationship Diagrams (ERD), Database Design, SQL Statements, Reports and Menus (UI) Programs Used: Microsoft Word, Microsoft Access, Microsoft PowerPoint, CTU Virtual Campus, Adobe Connect Instructor Feedback: Trina, Great work overall on this class. You did well with your template. You really went above and beyond including all of the forms, menus and reports you created. You covered all of the expectations for this assignment. Good luck in the future. It was a pleasure to have you in class. Final Grade: A

2 CS251: Fundamentals of Database Systems 2 Table of Contents Project Outline... 3 Description of the database design life cycle (Week 1 IP)... 3 A description of the DBDSL... 3 A discussion about the three steps in database design... 6 The entity relationship diagram (Week 2 IP)... 7 An entity relationship diagram... 7 The logical model and normalization (Week 3 IP)... 9 Logical data model... 9 Second Normal Form: Normalized to 3NF The Microsoft Access database (Week 4 IP) Database created in Microsoft Access SQL SELECT statements The Microsoft Access database application (Week 5 IP) Forms Reports VIP Business Members Report References... 23

3 CS251: Fundamentals of Database Systems 3 Project Outline Description of the database design life cycle (Week 1 IP) A description of the DBDSL There are seven steps in the design process: 1. Defining a mission statement and mission objectives 2. Analyzing the current database 3. Creating the data structures 4. Determining and establishing table relationships 5. Determining and defining business rules 6. Determining and defining views 7. Reviewing data integrity The first is defining a mission statement and objectives. The statement is what will give purpose and focus for your database (Hernandez, 2003, p 79). The statement is necessary because it will define what needs to be accomplished and gives direction in the design process. It is a critical assessment of what information or data will be needed to accomplish the task at hand. The mission objectives are statements that represent the general tasks your users can perform against the data in the database (Hernandez, 2003, p 80). During this phase of the design process you will be working with owners, managers, developers, and end users. Each of these people will give insight and definition to the objectives of the project.

4 CS251: Fundamentals of Database Systems 4 The second phase is analyzing the current database. This step may be optional if there is no previous or current database. Many of the current databases will be a legacy database or a paper-based database. A legacy database is an inherited database. The paper based system consists of forms, index cards, folders, etc. Analyzing the current database will give valuable insight on the use of information and data by an organization. (Hernandez, 2003, p 80) Part of phase two will include interviews with the management. This will help the developer know what the needs are of the organization. The developer can ask questions about how it is used, what they like about the current system, and what they would like to change or see implemented. From these interviews and analysis the developer can then define the fields. The calculation fields will be placed in a separate list. Then the fields are reviewed by the management for further refinement. The third phase is creating the data structures. This part of the design process is where tables and fields will be defined. Keys will be set and the field specifications defined. Tables will be defined first with fields being added next. It is important to review the tables for possible duplication of data fields. Once that is completed and refined the primary keys will be defined and is set to uniquely identify each record. The last part of phase three is to establish field specifications for each field. You accomplish this by conducting interviews with users and management. After the review with users and management and the refining is complete the structure is ready for phase four. (Hernandez, 2003, p 82) Phase four includes a database-design process. This phase also requires interviews to identify proper relationships with the data. It is important to complete this step to ensure relationship integrity. The next step is to establish the connections using primary keys or linking

5 CS251: Fundamentals of Database Systems 5 tables (Hernandez, 2003, p 84). The relationships can be defined as one-to-one, one-to-many or many-to-many (Fisher, 2011, Live Chat 2). In phase five of the design process business rules will be determined and defined. Again interviews will be held to help identify limitations and establish business rules. During this phase you will also define and implement validation tables. Once the constraints are identified they become business rules. An example of a specific business rule is setting the limitation that an order date must precede the shipping date. A general rule would be limitations on the amount of entertainers that an agency can represent. The business rules will change as time goes on but it is important to have these limitations in place to help with data integrity (Hernandez, 2003, pp 84-85). The sixth phase of the process is where views will be determined and defined. This phase will use interviews as well with users and management to understand their needs for accessing and viewing the data and information. Each group of users will use the information differently so setting and creating unique views will be helpful in productivity of each of those control groups. After the interviews are completed the views will be put in place and you are ready for that last phase of the design process (Hernandez, 2003, p 85). The last phase, seventh of the design process, is to review the integrity of data. The steps are to review each table for proper design and structure, resolve inconsistencies and review again, then to review and check each of the field specifications, make refinements and review, then review validity of relationships and confirm the type of relationship specified, and review all of the business rules that were identified and confirm the limitations (Hernandez, 2003, p 86).

6 CS251: Fundamentals of Database Systems 6 Once all seven phases are completed the initial design process is complete. The database will be refined and reviewed over time as the organization changes and evolves. There will be on-going needs to make adjustments to the original design process. A discussion about the three steps in database design There are three steps in the database creation including conceptual, logical and physical data modeling. Each of these steps is important to consider in creating a functional database. The complexity of these types of models will increase from conceptual design, to logical design, and finally to physical design. It is important to start with the conceptual to understand the different entities in the data. Once that is complete then you can move on to the logical where you will insert details of the data without actually implementing them, and finally move to the physical data where it will be determined exactly how the data model will interact with the database (Conceptual, 2011). The conceptual model includes entity names and relationships. The logical will also include the entity names and relationships, but will also include attributes, primary keys, and foreign keys. The last model is the physical model which includes primary and foreign keys, table names, column names, and column data types (Conceptual, 2011).

7 CS251: Fundamentals of Database Systems 7 The entity relationship diagram (Week 2 IP) An entity relationship diagram

8 CS251: Fundamentals of Database Systems 8 In the ERD the relationships are one-to-many or one-to-one. The Product-Invoice entity was created to dissolve the many-to-many relationship that existed between the Product entity and the Invoice Entity. The following table shows the relationships. One customer can have many shipping IDs and invoices. One product can be on many invoices. One shipping ID can have many products and one invoice ID. And one invoice can have one customer, many products and one shipping ID. Customers Products Shipping Invoice Product-Invoice Customers 1:M 1:M Products 1:M Shipping 1:M 1:1 Invoice 1:1 1:1 1:M

9 CS251: Fundamentals of Database Systems 9 The logical model and normalization (Week 3 IP) Logical data model After reviewing the ERD from Phase 2 there are changes to be made in order to make the database normalized. The first step was analyzing the database to make it in the First Normal Form. The changes made for that were to separate the products ordered into one attribute with multiple rows instead of multiple columns for recording products ordered. Another change was to separate the phone numbers into area code and phone number, allowing a search to be made by area code. One more change I made was to separate the dates into month, day and year also allowing for searches to be made by a specific range of dates. Once those changes were complete there were no duplicative columns and separate tables existed with related data. There were tables with primary and foreign keys and no repeating groups. After completing the First Normal Form I moved into the Second Normal Form. In this phase of the normalization process I created more tables. I created an Invoice_Product table as a linking table for the Invoice and Products ordered. This dissolved the many-to-many relationship that existed previously. This changed the Invoice table to the Invoice_ID, Customer_ID, Shipping_ID, Invoice_Product ID, and the separated Invoice Dates that are linked to a lookup table for the month and day. After completing this I realized the need to add in an Employee_ID with a relationship to an Employee table. I also added a Payment Table to track the payment terms and types. Once those changes were complete there were subsets of data that were placed in separate tables and the relationships were created with the use of foreign keys. I also checked for redundant data.

10 Invoice_ID Customer_ID Shipping_ID Product_ID Invoice_Date Payment_Terms Discount Quantity Tax Shipping Shipping_ID Shipping_Date Ship_Method Tracking_ Number Customer_ID First_Name Last_Name Company_Name Mailing_Street_ Address Mailing_ Address2 Mailing_City Mailing_State Mailing_Zip Shipping_Street _Address Shipping_ Address2 Shipping_City Shipping_State Shipping_Zip Phone1 Phone2 Fax CS251: Fundamentals of Database Systems 10 In the last phase of the normalization process, the Third Normal Form, I analyzed my relationships and table data and found that there were columns that were not dependent on the primary key and were thus moved to newly created tables. I added a state table as a lookup resource for tables with address properties, added separate tables for shipping methods and terms, changed the customer table to have subsets of contact information such as mailing address, shipping address and phone numbers. I also created tables for employee hire dates, termination dates and codes. I also added a discount table with membership types and the percentage of discount associated with that level of membership. Original Database Set-up: Customer Table Invoice Table Shipping Table

11 Product_ID Product_ Description Unit_Price Product_Invoice _ID Invoice_ID Product_ID Invoice_ID Customer_ID Shipping_ID Product_ID Invoice_Month Invoice_Day Invoice_Year Payment_Terms Discount Quantity Tax Shipping Shipping_ID Shipping_Month Shipping_Day Shipping_Year Ship_Method Tracking_ Number Customer_ID First_Name Last_Name Company_Name Mailing_Street_ Address Mailing_ Address2 Mailing_City Mailing_State Mailing_Zip Shipping_Street _Address Shipping_ Address2 Shipping_City Shipping_State Shipping_Zip Area_Code Phone Fax Product_ID Product_ Description Unit_Price Product_ Invoice _ID Invoice_ID Product_ID CS251: Fundamentals of Database Systems 11 Product Table Product_Invoice Table First Normal Form: Customer Table Invoice Table Shipping Table Product Table Product_Invoice Table

12 CS251: Fundamentals of Database Systems 12 Second Normal Form: Same as above with new table created for Invoice_Product. Invoice_Product Table Invoice_Product_ID Invoice_ID Product_ID Quantity Invoice Table Invoice_ID Customer_ID Invoice_Product_ID Shipping_ID Invoice_Month Invoice_Day Invoice_Year Employee_ID Payment_ID Normalized to 3NF

13 CS251: Fundamentals of Database Systems 13 Normalization Matrix Customer Customer_ID First_Name Last_Name Company_Name Mailing_Address Shipping_Address Phone_Numbers Discount_Code Invoice Invoice_ID Invoice_Product_ID Customer_ID Shipping_ID Invoice_Date_Month Invoice_Date_Day Invoice_Date_Year Employee_ID Payment_ID Product Product_ID Product_Description Unit_Price Shipping Shipping_ID Ship_Date_Month Ship_Date_Day Ship_Date_Year Ship_Method Ship_Terms Tracking_Number Invoice_Product Invoice_Product_ID Product_ID Quantity Mailing_Address Mailing_Address_ID Street_Address Address_2 City State Zip 1NF 2NF 3NF There are no repeating groups There is no redundant data Separated area code from phone number Separated first and last name of customer There are repeating groups Created an invoice_product table There is no redundant data There are columns not dependent on primary key Created mailing address table, shipping address table, phone numbers table, and discount table Added invoice dates, employee and payment data. New data was not dependent on primary key. Added a lookup table for the month and day. Added an employee table and payment table There are no repeating groups There is no redundant data Added data for shipping carrier and terms. New data was not dependent on primary key Created a ship method and ship terms table Created lookup table for state

14 CS251: Fundamentals of Database Systems 14 Shipping_Address Shipping_Address_ID Street_Address Address_2 City State Zip Phone_Numbers Phone_Number_ID Home_Area_Code Home_Phone Office_Area_Code Office_Phone Mobile_Area_Code Mobile_Phone Fax Discount_Code Discount_Code_ID Discount_Code Discount_Amount Date_Month Date_Month_ID Date_Month Date_Day Date_Day_ID Date_Day Employee Employee_ID First_Name Last_Name Street_Address Address_2 City State Zip Employee_Hire Employee_Terminate Payment Payment_ID Payment_Type Payment_Terms Ship_Method Ship_Method_ID Carrier Ship_Terms Ship_Terms_ID Ship_Time States State_ID State_Name State_Abbreviation There are no repeating groups Added home, office and mobile phone numbers with separate area codes There is no redundant data Created relationship to States table All data is dependent There are no repeating groups There is no redundant data There is data not dependent on primary key Created an employee hire table and an employee terminate table There are no repeating groups There is no redundant data There is data not dependent on primary key Created a payment type table and a payment terms table

15 CS251: Fundamentals of Database Systems 15 Employee_Hire Employee_Hire_ID Hire_Date_Month Hire_Date_Day Hire_Date_Year Employee_ Terminate Employee_ Terminate_ID Termination_Date _Month Termination_Date _Day Termination_Date _Year Termination_Type Termination_ Memo Payment_Type Payment_Type_ID Payment_Type Payment_Terms Payment_Terms_ID Payment_Terms Termination_Type Termination_Type_ID Termination_Type Created relationship to lookup tables for Date_Month and Date_Day Created relationship to lookup tables for Date_Month and Date_Day Created table for termination type

16 CS251: Fundamentals of Database Systems 16 The Microsoft Access database (Week 4 IP) Database created in Microsoft Access

17 CS251: Fundamentals of Database Systems 17 SQL SELECT statements 1. There has been a recall on all of our HP Laser Toners that were sold this month. We need to call any customers who have purchased them to arrange a product exchange. The query will use the customer table, phone number table, invoice table, product table, and invoice_product table. The results will show the customer s first and last name, home and office phone numbers, description of the product and quantity ordered. The results will hide the invoice information and product ID number. SQL Statement SELECT tbl_customer.first_name, tbl_customer.last_name, tbl_invoice_product.quantity, tbl_product.product_description, tbl_phone_numbers.home_area_code, tbl_phone_numbers.home_phone, tbl_phone_numbers.office_area_code, tbl_phone_numbers.office_phone FROM tbl_phone_numbers INNER JOIN (tbl_customer INNER JOIN (tbl_product INNER JOIN (tbl_invoice_product INNER JOIN tbl_invoice ON tbl_invoice_product.invoice_product_id = tbl_invoice.invoice_product_id) ON tbl_product.product_id = tbl_invoice_product.product_id) ON tbl_customer.customer_id = tbl_invoice.customer_id) ON tbl_phone_numbers.phone_number_id = tbl_customer.phone_numbers WHERE (((tbl_invoice_product.product_id)=1)); qry_recallhpmarch2011 First_Name Last_Name Quantity Product_Description Home_Area_Code Home_Phone Office_Area_Code Office_Phone John Elliot 5 HP Laser Toner Trevor Bates 2 HP Laser Toner

18 CS251: Fundamentals of Database Systems We have just updated our prices and need to print a current price list. This is a simple query that uses only the Product table and the description and price columns. It is sorted in ascending order by price. SQL Statement SELECT tbl_product.product_description, tbl_product.unit_price FROM tbl_product ORDER BY tbl_product.unit_price; qry_pricelist Product_Description Unit_Price Bic Pens - Black Fine $2.95 Bic Pens - Red Medium $2.95 Bic Pens - Black Medium $2.95 Dell Mouse $5.00 GP Copy Paper $5.45 CD pack $7.95 USB Cable $ GB SD Card $17.00 HP Premium Photopaper $27.95 Dell Speakers $29.00 HP Laser Toner $37.00

19 CS251: Fundamentals of Database Systems Our company will be mailing out letters to our VIP Business members to invite them to an exclusive sale. This query will use the customer table, discount code table, mailing address table, and state table to find and order all customers with a VIP Business membership. SQL Statement: SELECT tbl_customer.company_name, tbl_customer.first_name, tbl_customer.last_name, tbl_mailing_address.street_address, tbl_mailing_address.address_2, tbl_mailing_address.city, tbl_mailing_address.state, tbl_mailing_address.zip FROM tbl_states INNER JOIN (tbl_mailing_address INNER JOIN (tbl_discount_code INNER JOIN tbl_customer ON tbl_discount_code.discount_code_id = tbl_customer.discount_code) ON tbl_mailing_address.mailing_address_id = tbl_customer.mailing_address) ON tbl_states.state_id = tbl_mailing_address.state WHERE (((tbl_discount_code.discount_code)="vip Business")) ORDER BY tbl_customer.company_name; qry_vipbusiness Company_Name First_Name Last_Name Street_Address Address_2 City State Zip ABC Computing John Elliot 123 St Paul Way 105 St Paul MN Bank One Zach Johnson PO Box Minneapolis MN Swasey Jewelers Trisha Swasey PO Box Los Angeles CA 97503

20 CS251: Fundamentals of Database Systems 20 The Microsoft Access database application (Week 5 IP) Forms Customer Input Form Employee Input Form

21 CS251: Fundamentals of Database Systems 21 Invoice Product Input Form Reports VIP Business Members Report HP Product Recall March 2011 Report

22 CS251: Fundamentals of Database Systems 22 Menus Main Menu Input Data Forms Menu Report Menu

23 CS251: Fundamentals of Database Systems 23 References Conceptual, Logical, and Physical Data Models. (2011). 1keydata.com. Retrieved from Fisher, S. (2011, February 15). Live Chat 2 Fundamentals of DB. CS B-05. Colorado Technical University Online. Hernandez, M. (2003). Database design for mere mortals (2 nd Edition). Addison-Wesley.

Fundamentals of Database Systems. Emily Hegge. CTU Online. CS251-1101A-03 Fundamentals of Database Systems. Phillip Goin

Fundamentals of Database Systems. Emily Hegge. CTU Online. CS251-1101A-03 Fundamentals of Database Systems. Phillip Goin CS251-1201A-02 Fundamentals of Database Systems Fundamentals of Database Systems Emily Hegge CTU Online CS251-1101A-03 Fundamentals of Database Systems Phillip Goin 2/10/2012 CS251-1201A-02 Fundamentals

More information

Tutorial on Relational Database Design

Tutorial on Relational Database Design Tutorial on Relational Database Design Introduction Relational database was proposed by Edgar Codd (of IBM Research) around 1969. It has since become the dominant database model for commercial applications

More information

Ken Goldberg Database Lab Notes. There are three types of relationships: One-to-One (1:1) One-to-Many (1:N) Many-to-Many (M:N).

Ken Goldberg Database Lab Notes. There are three types of relationships: One-to-One (1:1) One-to-Many (1:N) Many-to-Many (M:N). Lab 3 Relationships in ER Diagram and Relationships in MS Access MS Access Lab 3 Summary Introduction to Relationships Why Define Relationships? Relationships in ER Diagram vs. Relationships in MS Access

More information

Topic: Relationships in ER Diagram and Relationships in MS Access

Topic: Relationships in ER Diagram and Relationships in MS Access MS Access Lab 3 Topic: Relationships in ER Diagram and Relationships in MS Access Summary Introduction to Relationships Why Define Relationships? Relationships in ER Diagram vs. Relationships in MS Access

More information

Fundamentals of Database System

Fundamentals of Database System Fundamentals of Database System Chapter 4 Normalization Fundamentals of Database Systems (Chapter 4) Page 1 Introduction To Normalization In general, the goal of a relational database design is to generate

More information

Database Design for the Uninitiated CDS Brownbag Series CDS

Database Design for the Uninitiated CDS Brownbag Series CDS Database Design for the Uninitiated Paul Litwin FHCRC Collaborative Data Services 1 CDS Brownbag Series This is the ninth in a series of seminars Materials for the series can be downloaded from www.deeptraining.com/fhcrc

More information

warpct.com MS Access 2010 Workbook courseware by WARP! Computer Training

warpct.com MS Access 2010 Workbook courseware by WARP! Computer Training warpct.com courseware by WARP! Computer Training MS Access 2010 Workbook Welcome! Thank you for evaluating a portion of this workbook. If you have any questions or comments regarding our training materials

More information

Microsoft Access 2007 Module 1

Microsoft Access 2007 Module 1 Microsoft Access 007 Module http://pds.hccfl.edu/pds Microsoft Access 007: Module August 007 007 Hillsborough Community College - Professional Development and Web Services Hillsborough Community College

More information

Database Design Basics

Database Design Basics Database Design Basics Table of Contents SOME DATABASE TERMS TO KNOW... 1 WHAT IS GOOD DATABASE DESIGN?... 2 THE DESIGN PROCESS... 2 DETERMINING THE PURPOSE OF YOUR DATABASE... 3 FINDING AND ORGANIZING

More information

SAMPLE FINAL EXAMINATION SPRING SESSION 2015

SAMPLE FINAL EXAMINATION SPRING SESSION 2015 SAMPLE FINAL EXAMINATION SPRING SESSION 2015 School of Computing, Engineering and Mathematics Student family name: Student given name/s: Student ID number: Course: Unit Name (In Full): Database Design

More information

Lab 9 Access PreLab Copy the prelab folder, Lab09 PreLab9_Access_intro

Lab 9 Access PreLab Copy the prelab folder, Lab09 PreLab9_Access_intro Lab 9 Access PreLab Copy the prelab folder, Lab09 PreLab9_Access_intro, to your M: drive. To do the second part of the prelab, you will need to have available a database from that folder. Creating a new

More information

Simple Invoicing Desktop Database with MS Access 2013. c 2015 by David W. Gerbing School of Business Administration Portland State University

Simple Invoicing Desktop Database with MS Access 2013. c 2015 by David W. Gerbing School of Business Administration Portland State University Simple Invoicing Desktop Database with MS Access 2013 c 2015 by David W. Gerbing School of Business Administration Portland State University July 2, 2015 CONTENTS 1 Contents 1 Create a New Database 1 2

More information

Conceptual Design: Entity Relationship Models. Objectives. Overview

Conceptual Design: Entity Relationship Models. Objectives. Overview Conceptual Design: Entity Relationship Models Craig Van Slyke, University of Central Florida cvanslyke@bus.ucf.edu John Day, Ohio University Objectives Define terms related to entity relationship modeling,

More information

Introduction to Relational Database. David Gerbing. School of Business Administration. Portland State University

Introduction to Relational Database. David Gerbing. School of Business Administration. Portland State University Introduction to Relational Database David Gerbing School of Business Administration Portland State University SECTION I Table of Contents BASIC RELATIONAL DATABASE CONCEPTS... 1 Introduction... 2 Database

More information

Microsoft Access 2003 Module 1

Microsoft Access 2003 Module 1 Microsoft Access 003 Module http://pds.hccfl.edu/pds Microsoft Access 003: Module June 005 006 Hillsborough Community College - Professional Development Services Hillsborough Community College - Professional

More information

Chapter 4: Database Design

Chapter 4: Database Design Chapter 4: Chapter 4: Objectives Understand data integrity concepts. Learn how to normalize data. Work with SQL Server s tools for enforcing data integrity. Implement primary and foreign keys. Use Declarative

More information

Foundations of Information Management

Foundations of Information Management Foundations of Information Management - WS 2012/13 - Juniorprofessor Alexander Markowetz Bonn Aachen International Center for Information Technology (B-IT) Data & Databases Data: Simple information Database:

More information

Designing Databases. Introduction

Designing Databases. Introduction Designing Databases C Introduction Businesses rely on databases for accurate, up-to-date information. Without access to mission critical data, most businesses are unable to perform their normal daily functions,

More information

Fundamentals of Relational Database Design

Fundamentals of Relational Database Design Fundamentals of Relational Database Design Presented by: Paul Litwin Paul Litwin is an independent developer, editor, writer, and educator. He s the owner of Seattle-based Litwin Consulting, a Microsoft

More information

Microsoft Access Basics

Microsoft Access Basics Microsoft Access Basics 2006 ipic Development Group, LLC Authored by James D Ballotti Microsoft, Access, Excel, Word, and Office are registered trademarks of the Microsoft Corporation Version 1 - Revision

More information

Access Part 2 - Design

Access Part 2 - Design Access Part 2 - Design The Database Design Process It is important to remember that creating a database is an iterative process. After the database is created and you and others begin to use it there will

More information

Using AND in a Query: Step 1: Open Query Design

Using AND in a Query: Step 1: Open Query Design Using AND in a Query: Step 1: Open Query Design From the Database window, choose Query on the Objects bar. The list of saved queries is displayed, as shown in this figure. Click the Design button. The

More information

IS 312, Information Systems for Business Database Project in Access

IS 312, Information Systems for Business Database Project in Access IS 312, Information Systems for Business Database Project in Access Department of Accounting & Information Systems College of Business & Economics 2010-2015 by David W. Miller, Ph.D. This document created

More information

Foundations of Business Intelligence: Databases and Information Management

Foundations of Business Intelligence: Databases and Information Management Foundations of Business Intelligence: Databases and Information Management Content Problems of managing data resources in a traditional file environment Capabilities and value of a database management

More information

Structure a Database. Key Concepts LESSON. Access 380. Lesson 2: Structure a Database. Standards

Structure a Database. Key Concepts LESSON. Access 380. Lesson 2: Structure a Database. Standards LESSON Key Concepts Structure a Database In this lesson, you will continue learning skills to use Access in your daily life. You will learn to create the following elements in this lesson: databases, tables,

More information

Click to create a query in Design View. and click the Query Design button in the Queries group to create a new table in Design View.

Click to create a query in Design View. and click the Query Design button in the Queries group to create a new table in Design View. Microsoft Office Access 2010 Understanding Queries Queries are questions you ask of your database. They allow you to select certain fields out of a table, or pull together data from various related tables

More information

Information Technology Services Kennesaw State University

Information Technology Services Kennesaw State University Information Technology Services Kennesaw State University Microsoft Access 2007 Level 1 1 Copyright 2008 KSU Dept. of Information Technology Services This document may be downloaded, printed or copied

More information

An Example: Video Rental System

An Example: Video Rental System An Example: Video Rental System Video Rental Database Customers Rentals Videos E-R Analysis ERD Example CUSTOMER PRODUCER E-R Analysis Attributes Attribute - property or characteristic of an entity type

More information

DATABASE INTRODUCTION

DATABASE INTRODUCTION Introduction The history of database system research is one of exceptional productivity and startling economic impact. We have learnt that from the days of file-based systems there are better ways to handle

More information

Course 103402 MIS. Foundations of Business Intelligence

Course 103402 MIS. Foundations of Business Intelligence Oman College of Management and Technology Course 103402 MIS Topic 5 Foundations of Business Intelligence CS/MIS Department Organizing Data in a Traditional File Environment File organization concepts Database:

More information

The 3 Normal Forms: Copyright Fred Coulson 2007 (last revised February 1, 2009)

The 3 Normal Forms: Copyright Fred Coulson 2007 (last revised February 1, 2009) The 3 Normal Forms: A Tutorial by Fred Coulson Copyright Fred Coulson 2007 (last revised February 1, 2009) This tutorial may be freely copied and distributed, providing appropriate attribution to the author

More information

Once the schema has been designed, it can be implemented in the RDBMS.

Once the schema has been designed, it can be implemented in the RDBMS. 2. Creating a database Designing the database schema... 1 Representing Classes, Attributes and Objects... 2 Data types... 5 Additional constraints... 6 Choosing the right fields... 7 Implementing a table

More information

User Services. Microsoft Access 2003 II. Use the new Microsoft

User Services. Microsoft Access 2003 II. Use the new Microsoft User Services July 2007 OBJECTIVES Develop Field Properties Import Data from an Excel Spreadsheet Create Relationships Create a Form with a Subform Create Action Queries Create Command Buttons Create a

More information

Relational Database Basics Review

Relational Database Basics Review Relational Database Basics Review IT 4153 Advanced Database J.G. Zheng Spring 2012 Overview Database approach Database system Relational model Database development 2 File Processing Approaches Based on

More information

In-Depth Guide Advanced Database Concepts

In-Depth Guide Advanced Database Concepts In-Depth Guide Advanced Database Concepts Learning Objectives By reading and completing the activities in this chapter, you will be able to: Retrieve specified records from a database using Query by Example

More information

TIM 50 - Business Information Systems

TIM 50 - Business Information Systems TIM 50 - Business Information Systems Lecture 15 UC Santa Cruz March 1, 2015 The Database Approach to Data Management Database: Collection of related files containing records on people, places, or things.

More information

Oracle Application Express - Application Migration Workshop

Oracle Application Express - Application Migration Workshop Oracle Application Express - Application Migration Workshop Microsoft Access Northwind Traders Migration to Oracle Application Express An Oracle White Paper May 2007 Oracle Application Express Application

More information

Exercise 1: Relational Model

Exercise 1: Relational Model Exercise 1: Relational Model 1. Consider the relational database of next relational schema with 3 relations. What are the best possible primary keys in each relation? employ(person_name, street, city)

More information

Use Find & Replace Commands under Home tab to search and replace data.

Use Find & Replace Commands under Home tab to search and replace data. Microsoft Access 2: Managing Data in Tables and Creating Relationships You have created tables in an Access database. Data in Access tables can be added, deleted, and updated to be current (practiced in

More information

Foundations of Business Intelligence: Databases and Information Management

Foundations of Business Intelligence: Databases and Information Management Chapter 5 Foundations of Business Intelligence: Databases and Information Management 5.1 Copyright 2011 Pearson Education, Inc. Student Learning Objectives How does a relational database organize data,

More information

Database Normalization. Mohua Sarkar, Ph.D Software Engineer California Pacific Medical Center 415-600-7003 sarkarm@sutterhealth.

Database Normalization. Mohua Sarkar, Ph.D Software Engineer California Pacific Medical Center 415-600-7003 sarkarm@sutterhealth. Database Normalization Mohua Sarkar, Ph.D Software Engineer California Pacific Medical Center 415-600-7003 sarkarm@sutterhealth.org Definition A database is an organized collection of data whose content

More information

Filter by Selection button. Displays records by degree to which they match the selected record. Click to view advanced filtering options

Filter by Selection button. Displays records by degree to which they match the selected record. Click to view advanced filtering options The Home Ribbon Sort Buttons: sort records into ascending or descending order by selected field Filter by Selection button. Displays records by degree to which they match the selected record. Display summary

More information

Database design 1 The Database Design Process: Before you build the tables and other objects that will make up your system, it is important to take time to design it. A good design is the keystone to creating

More information

SQL Programming. Student Workbook

SQL Programming. Student Workbook SQL Programming Student Workbook 2 SQL Programming SQL Programming Published by itcourseware, Inc., 7245 South Havana Street, Suite 100, Englewood, CO 80112 Contributing Authors: Denise Geller, Rob Roselius,

More information

Developing Web Applications for Microsoft SQL Server Databases - What you need to know

Developing Web Applications for Microsoft SQL Server Databases - What you need to know Developing Web Applications for Microsoft SQL Server Databases - What you need to know ATEC2008 Conference Session Description Alpha Five s web components simplify working with SQL databases, but what

More information

Microsoft Query, the helper application included with Microsoft Office, allows

Microsoft Query, the helper application included with Microsoft Office, allows 3 RETRIEVING ISERIES DATA WITH MICROSOFT QUERY Microsoft Query, the helper application included with Microsoft Office, allows Office applications such as Word and Excel to read data from ODBC data sources.

More information

EVALUATION ONLY. Whether you are creating a new. Creating Tables ACCESS 2013 LESSON OUTLINE LEARNING OBJECTIVES

EVALUATION ONLY. Whether you are creating a new. Creating Tables ACCESS 2013 LESSON OUTLINE LEARNING OBJECTIVES Lessons from Microsoft Office 2013 FOR ACCESS 2013 2Designing a Database and Creating Tables LESSON OUTLINE Designing a Relational Database Normalizing Databases Linking Tables with Primary and Foreign

More information

Introduction to Microsoft Access

Introduction to Microsoft Access Welcome to Teach Yourself: Introduction to Microsoft Access This Teach Yourself tutorial explains the basic operations and terminology of Microsoft Access 2003, a database management program. Microsoft

More information

Data Modelling and E-R Diagrams

Data Modelling and E-R Diagrams Data Modelling and E-R Diagrams So far we have considered some of the basic ideas behind relational theory, and we will continue with this in subsequent sections. In this section we look at the processes

More information

Microsoft Access 2000

Microsoft Access 2000 Microsoft Access 2000 Level 1 Region 4 Teaching, Learning and Technology Center Kaplan, LA Activity 1 Creating a Database 1. Open Microsoft Access 2000 a. Click on START, highlight Programs, point and

More information

A Short Tutorial on Using Visio 2010 for Entity-Relationship Diagrams

A Short Tutorial on Using Visio 2010 for Entity-Relationship Diagrams A Short Tutorial on Using Visio 2010 for Entity-Relationship Diagrams by Nezar Hussain Microsoft Visio 2010 is a flexible software tool that allows users to create some diagrams and charts, providing an

More information

Access Queries (Office 2003)

Access Queries (Office 2003) Access Queries (Office 2003) Technical Support Services Office of Information Technology, West Virginia University OIT Help Desk 293-4444 x 1 oit.wvu.edu/support/training/classmat/db/ Instructor: Kathy

More information

The join operation allows you to combine related rows of data found in two tables into a single result set.

The join operation allows you to combine related rows of data found in two tables into a single result set. (Web) Application Development With Ian Week 3 SQL with Multiple Tables Join The join operation allows you to combine related rows of data found in two tables into a single result set. It works similarly

More information

Practical Database Design

Practical Database Design Today s discussion Practical Design In a research environment Kim Laursen, ITS Education Coordinator, 9-5674 Tom Reardon, ITS Senior Programmer/Analyst, 9-5671 What is a database? Steps in designing a

More information

Data Modeling Basics

Data Modeling Basics Information Technology Standard Commonwealth of Pennsylvania Governor's Office of Administration/Office for Information Technology STD Number: STD-INF003B STD Title: Data Modeling Basics Issued by: Deputy

More information

7. Databases and Database Management Systems

7. Databases and Database Management Systems 7. Databases and Database Management Systems 7.1 What is a File? A file is a collection of data or information that has a name, called the Filename. There are many different types of files: Data files

More information

Database Management. Technology Briefing. Modern organizations are said to be drowning in data but starving for information p.

Database Management. Technology Briefing. Modern organizations are said to be drowning in data but starving for information p. Technology Briefing Database Management Modern organizations are said to be drowning in data but starving for information p. 509 TB3-1 Learning Objectives TB3-2 Learning Objectives TB3-3 Database Management

More information

Chapter 6 FOUNDATIONS OF BUSINESS INTELLIGENCE: DATABASES AND INFORMATION MANAGEMENT Learning Objectives

Chapter 6 FOUNDATIONS OF BUSINESS INTELLIGENCE: DATABASES AND INFORMATION MANAGEMENT Learning Objectives Chapter 6 FOUNDATIONS OF BUSINESS INTELLIGENCE: DATABASES AND INFORMATION MANAGEMENT Learning Objectives Describe how the problems of managing data resources in a traditional file environment are solved

More information

THE TOP TEN TIPS FOR USING QUALTRICS AT BYU

THE TOP TEN TIPS FOR USING QUALTRICS AT BYU THE TOP TEN TIPS FOR USING QUALTRICS AT BYU TIP #1: CREATING A SURVEY FROM A COPY AND COLLABORATING ON SURVEYS TIP #2: CREATING AND USING PANELS TIP #3: LIBRARIES AND HOW TO USE THEM TIP #4: BASIC SKIP

More information

Foundations of Business Intelligence: Databases and Information Management

Foundations of Business Intelligence: Databases and Information Management Chapter 6 Foundations of Business Intelligence: Databases and Information Management 6.1 2010 by Prentice Hall LEARNING OBJECTIVES Describe how the problems of managing data resources in a traditional

More information

QWT Business Intelligence Project Plan

QWT Business Intelligence Project Plan QWT Business Intelligence Project Plan Date: 4/28/05 Version: 1.0.7.0 Author: qwt Table of Contents 1 QWT Business Intelligence Project Requirements... 3 1.1 Key Measures...4 1.2 Key Performance Indicators...5

More information

Foundations of Information Management

Foundations of Information Management Foundations of Information Management - WS 2009/10 Juniorprofessor Alexander Markowetz Bonn Aachen International Center for Information Technology (B-IT) Alexander Markowetz Born 1976 in Brussels, Belgium

More information

INTRODUCTION TO MICROSOFT ACCESS MINIMAL MANUAL

INTRODUCTION TO MICROSOFT ACCESS MINIMAL MANUAL University of Glasgow Department of Computing Science INTRODUCTION TO MICROSOFT ACCESS MINIMAL MANUAL 1 Databases in Access...2 2 The Database Window...2 3 Help...2 4 Saving...3 5 Wizards...3 6 Tables...3

More information

DbSchema Tutorial with Introduction in SQL Databases

DbSchema Tutorial with Introduction in SQL Databases DbSchema Tutorial with Introduction in SQL Databases Contents Connect to the Database and Create First Tables... 2 Create Foreign Keys... 7 Create Indexes... 9 Generate Random Data... 11 Relational Data

More information

Microsoft Access Part I (Database Design Basics) ShortCourse Handout

Microsoft Access Part I (Database Design Basics) ShortCourse Handout Microsoft Access Part I (Database Design Basics) ShortCourse Handout July 2004, Technology Support, Texas Tech University. ALL RIGHTS RESERVED. Members of Texas Tech University or Texas Tech Health Sciences

More information

To determine the fields in a table decide what you need to know about the subject. Here are a few tips:

To determine the fields in a table decide what you need to know about the subject. Here are a few tips: Access Introduction Microsoft Access is a relational database software product that you can use to organize your data. What is a "database"? A database is an integrated collection of data that shares some

More information

E-commerce Website Manual

E-commerce Website Manual E-commerce Version 2, July 2014 800 Viewfield Road Victoria, BC V9A 4V1 Local: (250) 384-0565 Toll Free: 1-800-735-3433 sales@monk.ca service@monk.ca Monk Office s new e-commerce site is your personalized

More information

Introduction to normalization. Introduction to normalization

Introduction to normalization. Introduction to normalization Introduction to normalization Lecture 4 Instructor Anna Sidorova Agenda Presentation Review of relational models, in class exersise Introduction to normalization In-class exercises Discussion of HW2 1

More information

Access Database Design

Access Database Design Technical Support Services Office of Information Technology, West Virginia University OIT Help Desk (304) 293-4444 http://oit.wvu.edu/training/classmat/db/ Last revised: June 26, 2008 Copyright 2008 West

More information

User Services. Intermediate Microsoft Access. Use the new Microsoft Access. Getting Help. Instructors OBJECTIVES. July 2009

User Services. Intermediate Microsoft Access. Use the new Microsoft Access. Getting Help. Instructors OBJECTIVES. July 2009 User Services July 2009 OBJECTIVES Develop Field Properties Import Data from an Excel Spreadsheet & MS Access database Create Relationships Create a Form with a Subform Create Action Queries Create Command

More information

Introduction to Computing. Lectured by: Dr. Pham Tran Vu t.v.pham@cse.hcmut.edu.vn

Introduction to Computing. Lectured by: Dr. Pham Tran Vu t.v.pham@cse.hcmut.edu.vn Introduction to Computing Lectured by: Dr. Pham Tran Vu t.v.pham@cse.hcmut.edu.vn Databases The Hierarchy of Data Keys and Attributes The Traditional Approach To Data Management Database A collection of

More information

Database Design. Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB

Database Design. Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB Marta Jakubowska-Sobczak IT/ADC based on slides prepared by Paula Figueiredo, IT/DB Outline Database concepts Conceptual Design Logical Design Communicating with the RDBMS 2 Some concepts Database: an

More information

Databases and Information Management

Databases and Information Management Databases and Information Management Reading: Laudon & Laudon chapter 5 Additional Reading: Brien & Marakas chapter 3-4 COMP 5131 1 Outline Database Approach to Data Management Database Management Systems

More information

Word 2007: Mail Merge Learning Guide

Word 2007: Mail Merge Learning Guide Word 2007: Mail Merge Learning Guide Getting Started Mail merge techniques allow you to create a document which combines repetitive text elements with data drawn from an external data document. To perform

More information

- Suresh Khanal. http://mcqsets.com. http://www.psexam.com Microsoft Excel Short Questions and Answers 1

- Suresh Khanal. http://mcqsets.com. http://www.psexam.com Microsoft Excel Short Questions and Answers 1 - Suresh Khanal http://mcqsets.com http://www.psexam.com Microsoft Excel Short Questions and Answers 1 Microsoft Access Short Questions and Answers with Illustrations Part I Suresh Khanal Kalanki, Kathmandu

More information

Business Intelligence. 11. SSIS, ETL January 2014.

Business Intelligence. 11. SSIS, ETL January 2014. Business Intelligence 11. SSIS, ETL January 2014. SQL Server Integration Services Poslovna inteligencija SQL Server Integration Services New project Integra on Services Project Data Sources new data source

More information

SQL SELECT Query: Intermediate

SQL SELECT Query: Intermediate SQL SELECT Query: Intermediate IT 4153 Advanced Database J.G. Zheng Spring 2012 Overview SQL Select Expression Alias revisit Aggregate functions - complete Table join - complete Sub-query in where Limiting

More information

Doing database design with MySQL

Doing database design with MySQL Doing database design with MySQL Jerzy Letkowski Western New England University ABSTRACT Most of the database textbooks, targeting database design and implementation for information systems curricula support

More information

Optimum Database Design: Using Normal Forms and Ensuring Data Integrity. by Patrick Crever, Relational Database Programmer, Synergex

Optimum Database Design: Using Normal Forms and Ensuring Data Integrity. by Patrick Crever, Relational Database Programmer, Synergex Optimum Database Design: Using Normal Forms and Ensuring Data Integrity by Patrick Crever, Relational Database Programmer, Synergex Printed: April 2007 The information contained in this document is subject

More information

Database Design and Normalization

Database Design and Normalization Database Design and Normalization 3 CHAPTER IN THIS CHAPTER The Relational Design Theory 48 46 Database Design Unleashed PART I Access applications are database applications, an obvious statement that

More information

Concepts Design Basics Command-line MySQL Security Loophole

Concepts Design Basics Command-line MySQL Security Loophole Part 2 Concepts Design Basics Command-line MySQL Security Loophole Databases Flat-file Database stores information in a single table usually adequate for simple collections of information Relational Database

More information

Foundations of Business Intelligence: Databases and Information Management

Foundations of Business Intelligence: Databases and Information Management Foundations of Business Intelligence: Databases and Information Management Problem: HP s numerous systems unable to deliver the information needed for a complete picture of business operations, lack of

More information

Reduced Quality Sample

Reduced Quality Sample Access 2007 Essentials PART ONE Mobile MOUSe Access 2007 Essentials Version # 1.1 Part One 08/08/2010 11:20 About this Course Microsoft Access is the database application included with Microsoft Office.

More information

Creating Reports Crystal Clear

Creating Reports Crystal Clear Creating Reports Crystal Clear Presented by: Robert Acosta - Senior Client Support Co-Presenter: Praveen Maturi - Support Manager Agenda Why Crystal Reports? Planning a Report Report Access ECD vs Company

More information

Using Microsoft Access

Using Microsoft Access Using Microsoft Access In all of the previous exercises you have worked on a simple database that only had one table. In many cases, a database will be too complex to be able to work well with only one

More information

Welcome to the Data Analytics Toolkit PowerPoint presentation on EHR architecture and meaningful use.

Welcome to the Data Analytics Toolkit PowerPoint presentation on EHR architecture and meaningful use. Welcome to the Data Analytics Toolkit PowerPoint presentation on EHR architecture and meaningful use. When data is collected and entered into the electronic health record, the data is ultimately stored

More information

14 Databases. Source: Foundations of Computer Science Cengage Learning. Objectives After studying this chapter, the student should be able to:

14 Databases. Source: Foundations of Computer Science Cengage Learning. Objectives After studying this chapter, the student should be able to: 14 Databases 14.1 Source: Foundations of Computer Science Cengage Learning Objectives After studying this chapter, the student should be able to: Define a database and a database management system (DBMS)

More information

TIME KEEP LEGAL BILLING SOFTWARE DESIGN DOCUMENT. Mike Don Cheng-Yu. CS 524 Software Engineer Professor: Dr Liang

TIME KEEP LEGAL BILLING SOFTWARE DESIGN DOCUMENT. Mike Don Cheng-Yu. CS 524 Software Engineer Professor: Dr Liang TIME KEEP LEGAL BILLING SOFTWARE DESIGN DOCUMENT Mike Don Cheng-Yu CS 524 Software Engineer Professor: Dr Liang TABLE OF CONTENTS 1. INTRODUCTION: 2 1.1. Goals and objectives 2 1.2. Statement of scope

More information

Horizon Debt Collect. User s and Administrator s Guide

Horizon Debt Collect. User s and Administrator s Guide Horizon Debt Collect User s and Administrator s Guide Microsoft, Windows, Windows NT, Windows 2000, Windows XP, and SQL Server are registered trademarks of Microsoft Corporation. Sybase is a registered

More information

Creating and Using Databases with Microsoft Access

Creating and Using Databases with Microsoft Access CHAPTER A Creating and Using Databases with Microsoft Access In this chapter, you will Use Access to explore a simple database Design and create a new database Create and use forms Create and use queries

More information

How To Get Started Using Microsoft Access Even If You've Never Used It Before

How To Get Started Using Microsoft Access Even If You've Never Used It Before How To Get Started Using Microsoft Access Even If You've Never Used It Before Thank you for downloading this ebook. 2009 Paul Barnett. All Rights Reserved. No part of this publication may be reprinted

More information

Microsoft Access 2007

Microsoft Access 2007 How to Use: Microsoft Access 2007 Microsoft Office Access is a powerful tool used to create and format databases. Databases allow information to be organized in rows and tables, where queries can be formed

More information

Online shopping store

Online shopping store Online shopping store 1. Research projects: A physical shop can only serves the people locally. An online shopping store can resolve the geometrical boundary faced by the physical shop. It has other advantages,

More information

MICROSOFT ACCESS A. CREATING A DATABASE B. CREATING TABLES IN A DATABASE

MICROSOFT ACCESS A. CREATING A DATABASE B. CREATING TABLES IN A DATABASE Prepared for MIS 6326 by Dr. Sumit Sarkar 1 MICROSOFT ACCESS A database is a collection of different types of data, stored in a manner to facilitate use in diverse ways. In Microsoft Access 2000, a database

More information

Bridge from Entity Relationship modeling to creating SQL databases, tables, & relations

Bridge from Entity Relationship modeling to creating SQL databases, tables, & relations 1 Topics for this week: 1. Good Design 2. Functional Dependencies 3. Normalization Readings for this week: 1. E&N, Ch. 10.1-10.6; 12.2 2. Quickstart, Ch. 3 3. Complete the tutorial at http://sqlcourse2.com/

More information

Relational Database Concepts

Relational Database Concepts Relational Database Concepts IBM Information Management Cloud Computing Center of Competence IBM Canada Labs 1 2011 IBM Corporation Agenda Overview Information and Data Models The relational model Entity-Relationship

More information

Order Tracking Tips and Techniques

Order Tracking Tips and Techniques You can track the status of your orders on the Customer Care Online Service Center website at: http://customercare.hmhco.com/. You can search for orders by: Order Number Invoice Number PO Number Product

More information

Higher National Unit specification: general information. Relational Database Management Systems

Higher National Unit specification: general information. Relational Database Management Systems Higher National Unit specification: general information Unit code: H16W 35 Superclass: CB Publication date: March 2012 Source: Scottish Qualifications Authority Version: 01 Unit purpose This Unit is designed

More information