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

Slides:



Advertisements
Similar presentations
All Powder Board and Ski
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 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.
Access - Project 1 l What Is a Database? –A Collection of Data –Organized in a manner to allow: »Access »Retrieval »Use of That Data.
Database A collection of related information stored on a computer and organized in a manner that allows access, retrieval, and use of that data.
© Steven Alter, 2007, all rights reserved Database concepts Difference between a database and the Internet Reason for having a defined data structure Relational.
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.
Data Types and Field Properties 5.01 Understand database tables used in business.
Database terms Mr. Brunton.
Business Computer Information Systems Microsoft Office XP Access Review Lessons 1 through 5.
Tables. What is a Table? A part of a database Container for data Pieces of data, put together, have a meaning.
Part 06 – A More Complex Data Model Entity Framework and MVC NTPCUG Tom Perkins.
Irwin/McGraw-Hill Copyright © 2000 The McGraw-Hill Companies. All Rights reserved Whitten Bentley DittmanSYSTEMS ANALYSIS AND DESIGN METHODS5th Edition.
1 All Powder Board and Ski Microsoft Access Workbook Chapter 4: Queries Jerry Post Copyright © 2007.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
DATABASE DESIGN USING MICROSOFT ACCESS. What is a Database?  DMS Database management system  Database Collection of data organized in a manner that.
All Powder Board and Ski SQL Server 2000 Workbook Chapter 1 Jerry Post Copyright © 2003.
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.
G045 Lecture 09 ERD Diagrams (Entity Relationship Diagrams) Mr C Johnston ICT Teacher
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.
1 All Powder Board and Ski Oracle 9i Workbook Chapter 9: Database Administration Jerry Post Copyright © 2003.
DAY 22: MICROSOFT ACCESS – REVIEW Akhila Kondai November 04, 2013.
© Relational Databases. © Entities Data is stored in tables. Each table is concerned with one entity An entity is a.
Chapter 17 Creating a Database.
11 3 / 12 CHAPTER Databases MIS105 Lec15 Irfan Ahmed Ilyas.
Copyright © 2003 Addison-Wesley Sree Nilakanta. Copyright © 2003 Addison-Wesley Developing Relational Models What is the relational model and what is.
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.
Relational Databases. Relational database  data stored in tables  must put data into the correct tables  define relationship between tables  primary.
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.
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.
Introduction to Access Chapter 13 pages 1-4. What is a database??? Related information is stored in databases  All SC student information is stored in.
CSC 240 (Blum)1 Introduction to Access CSC 240 (Blum)2 Click on the Access desktop icon or go to Start/All Programs/Microsoft Office/Microsoft Office.
Mr C Johnston ICT Teacher
Database design Using Access 2007
* 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.
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.
Access Test Questions Test Date: 05/05/16. Chapter 1 (Lynda.com) Question 1 An access database uses five main components (database objects). Which is.
DATABASE MIS 327 Advanced Database 1. DATABASE 2 Objectives  Why are models important in designing systems?  How do you begin a database project? 
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.
2b. Create an Access Database Lingma Acheson Department of Computer and Information Science IUPUI CSCI N207 Data Analysis with Spreadsheets 1.
McGraw-Hill/Irwin Copyright © 2005 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 10: Distributed Databases and the Internet All Powder.
BTEC NCF IT Unit 02 Creating Systems to Manage Information Lesson 05 – Data Types Mr C Johnston.
Chapter 1: Introduction 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
Order Database – ER Diagram
Introduction to Access 2003
Supplement: Using the DBDesign System
ICT Database Lesson 2 Designing a Database.
Introduction to MS ACCESS
Presentation transcript:

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

DBDesign: An Expert System 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) NameDataBytes Text (characters) fixed variable memo NA Text Memo 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 NA Number: Decimal Number: Single Number: Double Currency Yes/No / /- 2 billion +/- 1 E 28 +/- 1 E 38 +/- 1 E 308 +/ trillion 0/ bit Date/Time 1/1/100 – 12/31/9999 (1 sec)8 ImageOLE Object1 gigabyteVariable AutoNumber Long (+/- 2 billion)4

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

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

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

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

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

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

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 Sale SaleID SaleDate CustomerID EmployeeID Inventory SKU Size QOH Many-to-Many SaleItem SaleID SKU QuantitySold SalePrice 1…1 0…* 1…* 1…1

Ski Shop Inventory Photo: 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 Item: 196 cmItem: 181 cm

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 Customer CustomerID LastName FirstName Phone Address City State ZIP CustomerSkill CustomerID Style SkillLevel Style StyleDescription SkillLevel SkillDescription