All Powder Board and Ski

Slides:



Advertisements
Similar presentations
Information Systems Technology Ross Malaga B Copyright © 2005 Prentice Hall, Inc. B-1 WORKING WITH DATABASES.
Advertisements

1 All Powder Board and Ski Microsoft Access Workbook Chapter 9: Data Warehouses and Data Mining Jerry Post Copyright © 2007.
1 All Powder Board and Ski Microsoft Access Workbook Chapter 8: Applications Jerry Post Copyright © 2007.
1 All Powder Board and Ski Microsoft Access Workbook Chapter 5: Advanced Queries Jerry Post Copyright © 2007.
1 All Powder Board and Ski Microsoft Access Workbook Chapter 6: Forms and Reports Jerry Post Copyright © 2007.
All Powder Board and Ski Microsoft Access Workbook Chapter 3: Database Tables Jerry Post Copyright © 2007.
1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Database Administration Jerry Post Copyright © 2007.
BASIC SKILLS AND TOOLS USING ACCESS
Tutorial 9 – Creating On-Screen Forms Using Advanced Table Techniques
Copyright © 2008 Pearson Prentice Hall. All rights reserved.1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2.1: Relational Databases.
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
CC SQL Utilities.
Guidelines for Setting Field Properties Each field has a number of properties, such as its name and data type, that you can set when you define the field.
Access Tables 1. Creating a Table Design View Define each field and its properties Data Sheet View Essentially spreadsheet Enter fields You must go to.
Extended DISC Online System User Instruction: How to Generate Reports
Services Course Windows Live SkyDrive Participant Guide.
MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
Access - Project 1 l What Is a Database? –A Collection of Data –Organized in a manner to allow: »Access »Retrieval »Use of That Data.
A Guide to SQL, Seventh Edition. Objectives Understand the concepts and terminology associated with relational databases Create and run SQL commands in.
Database Design Chapter 2. Goal of all Information Systems  To add value –Reduce costs –Increase sales or revenue –Provide a competitive advantage.
Access Lecture 1 Database Overview and Creating Tables Create an Employee Table.
Creating FrontPage Tasks The task view allows you to add information about what you want to accomplish when creating your Web site.
Tables. Any database must contain one or more tables, because that’s where the data is stored. For any table there are two views provided: Datasheet view.
Database terms Mr. Brunton.
A Guide to SQL, Eighth Edition Chapter Three Creating Tables.
CITY UNIVERSITY / Vysoká Škola Manažmentu.:IS Information Systems :. © Martina Cesalova, 2005 MS ACCESS 1 Start Microsoft Access – New - Blank Database.
1 All Powder Board and Ski Microsoft Access Workbook Chapter 4: Queries Jerry Post Copyright © 2007.
Microsoft Access Data Base Application. A Few Terms Database – A collection of related information. Database – A collection of related information. Field.
All Powder Board and Ski SQL Server 2000 Workbook Chapter 1 Jerry Post Copyright © 2003.
® Microsoft Office 2010 Access Tutorial 2 Building a Database and Defining Table Relationships.
Working with Multiple Tables in Microsoft Access The Access Workbench: Section Two DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 3 rd Edition.
© 2007 by Prentice Hall3-1 Introduction to Oracle 10g Chapter 3 Creating, Modifying, Renaming, and Deleting Database Tables James Perry and Gerald Post.
1 All Powder Board and Ski Oracle 9i Workbook Chapter 7: Integrity and Transactions Jerry Post Copyright © 2003.
1 All Powder Board and Ski SQL Server Workbook Chapter 2: Database Design Jerry Post Copyright © 2004.
1 All Powder Board and Ski Microsoft Access Workbook Chapter 7: Integrity and Transactions Jerry Post Copyright © 2003.
1.NET Web Forms Business Forms © 2002 by Jerry Post.
1 All Powder Board and Ski Microsoft Access Workbook Chapter 10: Distributed Databases Jerry Post Copyright © 2003.
® Microsoft Access 2010 Tutorial 2 Building a Database and Defining Table Relationships.
Chapter 17 Creating a Database.
1 All Powder Board and Ski Oracle 9i Workbook Chapter 10: Distributed Databases Jerry Post Copyright © 2003.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
IE 423 – Design of Decision Support Systems Database development – Building Tables
All Powder Board and Ski Microsoft Access Workbook Chapter 3: Database Tables Jerry Post Copyright © 2003.
1 All Powder Board and Ski Microsoft Access Workbook Chapter 6: Forms, Reports, and Applications Jerry Post Copyright © 2003.
1 All Powder Board and Ski Oracle 9i Workbook Chapter 8: Data Warehouses and Data Mining Jerry Post Copyright © 2003.
All Powder Board and Ski Microsoft Access Workbook Chapter 2: Database Design Jerry Post Copyright © 2003.
) Main Menu: You can access all aspects of the database from this screen 2) Contacts: You can access the “contact database management” side of.
1 All Powder Board and Ski Microsoft Access Workbook Chapter 8: Data Warehouses and Data Mining Jerry Post Copyright © 2003.
All Powder Board and Ski Oracle 9i Workbook Chapter 3: Database Tables Jerry Post Copyright © 2003.
1 All Powder Board and Ski Microsoft Access Workbook Chapter 9: Database Administration Jerry Post Copyright © 2003.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Working with Data Lists.
Mr C Johnston ICT Teacher
Getting Started in Access 1 Using an existing Database Database Window Table Design View Parts of a Table Views in Access Navigating in Access Entering.
Creating E/R Diagrams with SQL Server Management Studio, Writing SQL Queries D0ncho Minkov Telerik School Academy schoolacademy.telerik.com Technical Trainer.
1 All Powder Board and Ski SQL Server Workbook Chapter 5: Advanced Queries Jerry Post Copyright © 2003.
COMPUTER SKILLS MS-ACCESS. Introduction Access is a piece of software known as a database management system. At its most basic level, it can be used to.
Excel Chapter 1 Creating a Worksheet and an Embedded Chart
2b. Create an Access Database Lingma Acheson Department of Computer and Information Science IUPUI CSCI N207 Data Analysis with Spreadsheets 1.
Chapter 1: Introduction All Powder Board and Ski
Chapter 6: Forms, Reports and Applications All Powder Board and Ski
Databases Chapter 9 Asfia Rahman.
Chapter 7: Database Integrity and Transactions
Chapter 2: Database Design All Powder Board and Ski
Data Definition and Data Types
All Powder Board and Ski
All Powder Board and Ski
Supplement: Using the DBDesign System
Guidelines for Microsoft® Office 2013
Presentation transcript:

All Powder Board and Ski Microsoft Access Workbook Chapter 2: Database Design Jerry Post Copyright © 2007

DBDesign: An Expert System http://time-post.com/dbdesign Benefits Makes it easy to create database diagrams Saves data in central location, so changes can be made from almost any computer Provides immediate detailed feedback on the design Requirements Instructors must ask for a free account Instructors and students need a Java-enabled Web browser

Access Data Types (Domains) Name Data Bytes Text (characters) fixed variable memo NA Text Memo 255 64 K Variable Numeric Byte (8 bits) Integer (16 bits) Long (32 bits) (64 bits) Fixed precision Float Double Currency Yes/No Number: Byte Number: Integer Number: Long Integer Number: Decimal Number: Single Number: Double 0-255 +/- 32767 +/- 2 billion +/- 1 E 28 +/- 1 E 38 +/- 1 E 308 +/- 900.0000 trillion 0/1 1 2 4 12 8 1 bit Date/Time 1/1/100 – 12/31/9999 (1 sec) Image OLE Object 1 gigabyte AutoNumber Long (+/- 2 billion)

Initial Business Objects Sale Customer SaleID SaleDate CustomerID EmployeeID CustomerID LastName FirstName Phone Address City State ZIP Rental Employee RentID RentDate CustomerID ExpectedReturn EmployeeID TaxpayerID LastName FirstName Address City State ZIP

Associations or Relationships Sale Customer 1…1 SaleID SaleDate CustomerID EmployeeID CustomerID LastName FirstName Phone Address City State ZIP 0…* Rental Employee RentID RentDate CustomerID ExpectedReturn EmployeeID TaxpayerID LastName FirstName Address City State ZIP

Action Action Browser: http://time-post.com/dbdesign New student who has two key numbers.

Getting Started Enter the key numbers you received Create a username and password. Enter your correct name, e-mail address and StudentID

Class Registration Successful account creation Select your university and class Enter the admit code

Action Action File/Open, choose All Powder case Right click/Add Table Right click header/Rename table Drag columns from right onto table Right click name/set data type

DBDesign: Example Menu Class (entity) Status line Available columns Corrections

Action Action Add Customer and Sale tables Add GenerateKey to Customer table Rename it to CustomerID Drag new CustomerID from right side into Sale table Drag CustomerID from Customer and drop it on CustomerID in Sale table Fill out relationship box

Relationships Drag-and-drop column Select min and max for both sides of the relationship

Action Action Choose Grade/Grade and Mark Double click messages in window Fix errors by removing columns and adding new tables

Design Errors Add SKU to the Sale table Connect the Inventory table to the Sale table Double click the diagnostic message Possible errors are highlighted

More Errors Try setting SKU as a key It still causes problems because SaleDate does not depend on the SKU

Split Many-to-Many Relationship Inventory Sale 1…1 1…1 SKU Size QOH SaleID SaleDate CustomerID EmployeeID SaleItem 1…* SaleID SKU QuantitySold SalePrice 0…*

Ski Shop Inventory Item: 196 cm Item: 181 cm Ski shops carry multiple lengths of each ski or board model. Model information refers to the overall type of board or ski. Inventory information refers to an individual ski or board—defined by its length. Model: Rossignol Axium Photo: www.rossignol.com

Action Action Create the SaleItem table Create the ItemModel table Include the proper columns Set the keys Set the data types Grade/Grade and Mark

Models and Items

Customer Skill Level CustomerID, LastName, … Style, SkillLevel Business rule: Each customer can have one skill in many styles. Business rule: Each style can apply to more than one customer. Need a table with both attributes as keys. CustomerID, LastName, … Style, SkillLevel But you cannot include LastName, FirstName and so on, because then you would have to re-enter that data for each customer skill.

Customer Style Skills Style Customer Style StyleDescription CustomerID LastName FirstName Phone Address City State ZIP CustomerSkill CustomerID Style SkillLevel SkillLevel SkillLevel SkillDescription