Supplement: Using the DBDesign System

Slides:



Advertisements
Similar presentations
All Powder Board and Ski
Advertisements

All Powder Board and Ski Microsoft Access Workbook Chapter 3: Database Tables Jerry Post Copyright © 2007.
Using to Collaborate and to Facilitate Collaboration Amongst Your Students Shmuel Fink Touro College.
Course Orientation Tests & Quizzes Tool. If the instructor has added “Tests & Quizzes” to the course as a form of assessment, click on the link in the.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2006 Microsoft Corporation.
Creating First Class Web Pages Log into your account.
1 ONE TIME PRINT SETUP To print Requisitions from Banner, follow this process once: Open Microsoft Excel, select (1) TOOLS, then (2) MACROS, then (3) SECURITY.
Microsoft Visual Basic 2012 CHAPTER TWELVE (ENRICHMENT CHAPTER) Windows Store Apps.
FIRST COURSE Access Tutorial 1 Creating a Database.
EDW647: Internet for Educators Dr. Roger Webster Department of Computer Science Millersville University July 23, 2008 Create.
Creating a Web Site to Gather Data and Conduct Research.
Microsoft Access Get a green book. Page AC 2 Define Access Define database.
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Web Feature Data Access Pages.
Microsoft Access You will need a pen/pencil.. What is Microsoft Access? Access is a database management system.  Create a database, add/change delete.
1 All Powder Board and Ski SQL Server Workbook Chapter 2: Database Design Jerry Post Copyright © 2004.
Key Applications Module Lesson 21 — Access Essentials
All Powder Board and Ski Microsoft Access Workbook Chapter 3: Database Tables Jerry Post Copyright © 2003.
All Powder Board and Ski Microsoft Access Workbook Chapter 2: Database Design Jerry Post Copyright © 2003.
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.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Using Middle Search® Plus For Junior Academic Bowl Competitions.
Word and the Writing Process. To create a document 1.On the Start menu, point to Programs, and then click Microsoft Word. A new document opens in Normal.
Chapter 5 Using a Template to Create a Resume and Sharing a Finished Document Microsoft Word 2013.
Chapter 8 Using Document Collaboration, Integration, and Charting Tools Microsoft Word 2013.
Chapter 11 Enhancing an Online Form and Using Macros Microsoft Word 2013.
Setting up a WordPress Site
Advanced Query Analysis
Presentation 4 Creating Databases Part III (Creating Reports)
Tutorial 1 Creating a Database
INTRODUCTION TO DATABASES (MICROSOFT ACCESS)
Working with MS-ACCESS
Chapter 2: The Visual Studio .NET Development Environment
Getting Started with Application Software
Working in the Forms Developer Environment
QLIK Overview & Desk Aid
Access Tutorial 1 Creating a Database
M. E. Kabay, PhD, CISSP-ISSMP V:
Enabling/Disabling JavaScript
Persistent Chat Create Topic Feeds to track activity
LMEvents SharePoint Portal How-to Guide
Chapter 2: Database Design All Powder Board and Ski
How to Fi
Managing Worksheets And Workbooks
All Powder Board and Ski
Access Creating a Database
Word and the Writing Process
Access Creating a Database
Access Lesson 1 Understanding Access Fundamentals
How To Use As Another Account On Gmail
DB Integrity & Transactions Part 2
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
Access Tutorial 1 Creating a Database
Introduction to Access 2003
Exploring Microsoft Access 2003
Setting up a WordPress Site
Introduction to Database Programs
Canvas Intermediate Training
All Right Reserved © JiJi Technologies Pvt Ltd
Chapter 18 Finalizing a Database.
Access Tutorial 1 Creating a Database
Software Updation Start software, it will be displayed following main screen: Click on 'Activate (2017) or [ Go to 'More Services' →'Software Information→
Introduction to Database Programs
Access Tutorial 1 Creating a Database
Grocery Store Outline csc242 – web programming.
Programming with Microsoft Visual Basic 2008 Fourth Edition
Chapter 8 Using Document Collaboration and Integration Tools
Persistent Chat Create Topic Feeds to track activity
All Right Reserved © JiJi Technologies Pvt Ltd
Tutorial Introduction to help.ebsco.com.
Presentation transcript:

Supplement: Using the DBDesign System IS240 – DBMS 27 Jan 2010 Jerry Post, PhD Reformatted by M. E. Kabay, PhD, CISSP-ISSMP Assoc Prof Information Assurance School of Business & Management Norwich University Class Notes Copyright © 2004 M. E. Kabay. All rights reserved. Page 1

Topics DB Design System Typical Customer Order DB Design Screen Adding a Table and a Key Two Tables Relationships—Linking Tables Creating Problems Detecting Problems (Grading) Testing a Change A Solution Data Types Copyright © 2004 M. E. Kabay. All rights reserved. Page 2

DB Design System http://JerryPost.com/DBdesign Students and instructors need only an Internet connection and a Java-enabled Web browser. Instructor can sign up free by sending email to: jpost@time-post.com Instructors set up the class and select assignments. Students create accounts and work on the assignments. The system provides immediate feedback in the form of comments and questions for each proposed table. Copyright © 2004 M. E. Kabay. All rights reserved. Page 3

Typical Customer Order Copyright © 2004 M. E. Kabay. All rights reserved. Page 4

DB Design Screen Column list Menu Title box (can be moved) Drawing area Title box (can be moved) Feedback window Scroll bars to display more of the drawing area Status line Copyright © 2004 M. E. Kabay. All rights reserved. Page 5

Adding a Table and a Key Right click in the main drawing window and select the option to Add table. Right click the gray bar at the top of the table, select the Rename table option and enter “Customer” Drag the Generate Key item onto the new Customer table. Right click on the new column name, select the Rename option and enter “CustomerID” 1 2 3 4 Copyright © 2004 M. E. Kabay. All rights reserved. Page 6

Two Tables The Customer table has a generated key of CustomerID Each column in the table represents data collected for each customer. Each column depends completely on the primary key. Each Order is identified by a unique OrderID generated by the database system. The CustomerID column is used because the customer number can be used to look up the corresponding data in the Customer table. Copyright © 2004 M. E. Kabay. All rights reserved. Page 7

Relationships—Linking Tables Drag the CustomerID column from the Customer table and drop it on the CustomerID column in the Orders table. For the Min value in Customer, select One instead of Optional. Click the OK button to accept the relationship definition. Copyright © 2004 M. E. Kabay. All rights reserved. Page 8

A Mistake Note from Prof Kabay: Putting the OrderID in the Items table is an error Why? Because it would be impossible to keep a list of items in which we store an Order #; how would we manage with more than one order? The items in an order should be in a separate table. Copyright © 2004 M. E. Kabay. All rights reserved. Page 9

Detecting Problems (Grading) Double click a line to mark the errors. Copyright © 2004 M. E. Kabay. All rights reserved. Page 10

Testing a Change Attempted fix Make the relationship many-to-many Make OrderID a key But, the score went down!!! Copyright © 2004 M. E. Kabay. All rights reserved. Page 11

A Solution The intermediate table OrderItem converts the many-to-many relationship into two one-to-many relationships. Both OrderID and ItemID are keys, indicating that each order can have many items, and each item can be sold on many orders. Copyright © 2004 M. E. Kabay. All rights reserved. Page 12

Data Types Right click the column names and set the data type. Copyright © 2004 M. E. Kabay. All rights reserved. Page 13

Thank you, Dr Post! Copyright © 2004 M. E. Kabay. All rights reserved. Page 14