1 The Information School of the University of Washington Nov 29fit100-24-forms © 2006 University of Washington More Forms INFO/CSE 100, Fall 2006 Fluency.

Slides:



Advertisements
Similar presentations
Organisation Of Data (1) Database Theory
Advertisements

CHAPTER OBJECTIVE: NORMALIZATION THE SNOWFLAKE SCHEMA.
Exploring Microsoft Access 97 Chapter 3 Information From the Database: Reports and Queries Office graphic copyright by Microsoft Corp.
Chapter 12 Information Systems Chapter Goals Define the role of general information systems Explain how spreadsheets are organized Create spreadsheets.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
Final Review Sunday March 13th. Databases –Entities/Rows –Attributes/Columns –Keys –Relationships –Schema –Instance.
1 The Information School of the University of Washington Nov 27fit databases © 2006 University of Washington Database Intro INFO/CSE 100, Fall 2006.
Introduction to Databases CIS 5.2. Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s.
Week 2 Normalization and Queries
Chapter 12 Information Systems Nell Dale John Lewis.
“DOK 322 DBMS” Y.T. Database Design Hacettepe University Department of Information Management DOK 322: Database Management Systems.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
BUSINESS DRIVEN TECHNOLOGY
Mgt 20600: IT Management & Applications Databases Tuesday April 4, 2006.
Chapter Extension 6 Using Microsoft Access © 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke.
Chapter 12 Information Systems. 2 Chapter Goals Define the role of general information systems Explain how spreadsheets are organized Create spreadsheets.
Relational Databases What is a relational database? What would we use one for? What do they look like? How can we describe them? How can you create one?
Information systems and databases Database information systems Read the textbook: Chapter 2: Information systems and databases FOR MORE INFO...
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Page 1 ISMT E-120 Introduction to Microsoft Access & Relational Databases The Influence of Software and Hardware Technologies on Business Productivity.
ACCESS CHAPTER 1. OBJECTIVES Tables Queries Forms Reports Primary and Foreign Keys Relationship.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
Microsoft Access Intro Class 1 Database Concepts.
1 DATABASE TECHNOLOGIES BUS Abdou Illia, Fall 2007 (Week 3, Tuesday 9/4/2007)
Databases From A to Boyce Codd. What is a database? It depends on your point of view. For Manovich, a database is a means of structuring information in.
2.3 Organising Data for Effective Retrieval
Databases and LINQ Visual Basic 2010 How to Program 1.
ASP.NET Programming with C# and SQL Server First Edition
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Relational Database Concepts. Let’s start with a simple example of a database application Assume that you want to keep track of your clients’ names, addresses,
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.
Data-mining & Data As we used Excel that has capability to analyze data to find important information, the data-mining helps us to extract information.
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
6 Chapter Databases and Information Management. File Organization Terms and Concepts Bit: Smallest unit of data; binary digit (0,1) Byte: Group of bits.
Analyzing Data For Effective Decision Making Chapter 3.
Computer Science 101 Database Concepts. Database Collection of related data Models real world “universe” Reflects changes Specific purposes and audience.
Databases From A to Boyce Codd. What is a database? It depends on your point of view. For Manovich, a database is a means of structuring information in.
Lecturer: Gareth Jones. How does a relational database organise data? What are the principles of a database management system? What are the principal.
Professor Michael J. Losacco CIS 1110 – Using Computers Database Management Chapter 9.
Databases Week 5 LBSC 690 Information Technology.
Storing Organizational Information - Databases
Databases. Not All Tables Are Created Equal Spreadsheets use tables to store data and formulas associated with that data The “meaning” of data is implicit.
Information Systems & Databases 2.2) Organisation methods.
Created by, Author Name, School Name—State FLUENCY WITH INFORMATION TECNOLOGY Skills, Concepts, and Capabilities.
Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
1 The Information School of the University of Washington Dec 1fit advdatabases © 2006 University of Washington Advanced Database Concepts INFO/CSE.
+ Information Systems and Databases 2.2 Organisation.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
CHAPTER 1 – INTRODUCTION TO ACCESS Aliya Farheen March 5, 2014.
Lesson 2: Designing a Database and Creating Tables.
IST 220 – Intro to Databases Lecture 2 Touring Microsoft Access.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module J (Office 2007 Version) Implementing.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
CSCI 3327 Visual Basic Chapter 13: Databases and LINQ UTPA – Fall 2011.
Access Module Implementing a Database with Microsoft Access A Great Module on Your CD.
Hoi Le. Why database? Spreadsheet is not good to: Store very large information Efficiently update data Use in multi-user mode Hoi Le2.
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Level 2 Objectives: Understanding and Creating Table.
Decision Analysis Fall Term 2015 Marymount University School of Business Administration Professor Suydam Week 10 Access Basics – Tutorial B; Introduction.
IST 220 – Intro to Databases
Chapter 4 Relational Databases
INFO/CSE 100, Spring 2005 Fluency in Information Technology
INFO/CSE 100, Spring 2005 Fluency in Information Technology
INFO/CSE 100, Spring 2006 Fluency in Information Technology
Database Design Hacettepe University
Advanced Database Concepts: Reports & Views
INFO/CSE 100, Spring 2006 Fluency in Information Technology
Presentation transcript:

1 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington More Forms INFO/CSE 100, Fall 2006 Fluency in Information Technology

2 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington Due on Start of Class Homework 4 Also on Friday - we will go over midterm 2 and project 2b

3 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington Readings and References Reading »Fluency with Information Technology Chapter 16, Case Study in Database Design References »MS Access Help files keyword “form”

Books Publishers Authors ISBNTitle Price IDPhone Name IDPhone Name PublisherOf ∞ 1 WrittenBy ∞∞ Recall the ERD (entity relationship diagram) from last class

5 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington Link one book with many authors? We DO want: »to link each book to one or more authors We DON'T want »to specify extra fields (author1, author2, author3,…) this is wasteful and limits the max number of authors »to specify each book entry several times, naming a different author in each row this duplicates all the other information about the book

6 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington Add a cross-reference table! Refine the design so that it includes another table that is a book-author cross reference »Each entity in the table is a single cross reference Attribute: ISBN Attribute: Author ID »Primary key becomes both Foreign keys combined Now we can break the many-to-many relationship into two 1-to-many relationships that we already know how to implement

7 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington Define new cross-reference entities Books Authors ISBNTitle Price IDPhone Name ∞∞ Book/Author ISBNAuthorID 11

8 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington book-author table

9 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington Define the new relationships

Define a query that uses the relationship Query By Example actual SQL

11 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington Get the new view of the data Notice that this view has redundant data »That's okay, because we are not storing it this way, just presenting it »The redundant items (Alex, Another Press) came from a single entry in a table – they are guaranteed to be identical

Books Publishers Authors ISBNTitle Price IDPhone Name IDPhone Name PublisherOf ∞ 1 WrittenBy ∞∞ Now we've implemented this entire schema.

View: All Books from “Another Press”

14 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington View: All Books by Alex

View: All info about a given ISBN

16 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington Views as Tables Recall that the result of a query is a table We have been presenting the table to the user in simple tabular form

17 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington But tables are not pretty … Users need help understanding what they are looking at and what they can do with it

18 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington Front end and Back end Front end »We present the data to the user with some sort of Graphical User Interface Simple tabular display as we have been doing MS Access provides Forms and Reports for GUIs Web pages Back end »The database stores the data in tables »We use queries to construct new "virtual" tables or views

19 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington Forms A form is primarily used to enter or display data in a database The designer controls what it looks like and how it works, so it can be tailored to specific needs

20 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington A Form is just a Face for a table The form lets the designer arrange the data, label it, provide some control over events, etc »the presentation »multiple presentations are possible depending on the specific needs of each user Underlying data comes from a table or a query »the content »single source of data ensures consistency

21 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington How does a form get built? The Form wizard can help get you started.

But you probably want to tweak it … Design

23 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington But forms are not very compact … Users like to have reports densely packed with information and logically arranged …

24 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington Reports A Report is another face for a table (or query) The report lets the designer arrange the data, label it, provide some control over events, etc »the presentation »multiple presentations are possible depending on the specific needs of each user Underlying data comes from a table or a query »the content »single source of data ensures consistency

25 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington How does a report get built? The New Report wizard can build a complete report for you.

26 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington But this wizard is kind of naïve …

You might want to use the Report Wizard instead since it gives you more control.

Better looking report, but you still probably want to tweak it …

But you probably want to tweak it …

31 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington Explore the Design capabilities Properties of the various controls can be set Controls and labels can be moved around Images and patterns can be applied Totals, averages, subtotals etc can be calculated Information can be grouped by selected fields Etc, etc – there is a lot of flexibility in how these reports get generated

32 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington Questions Suppose I wanted a database to run a wine review web site. »What would some entities be? »What would some attributes be of those entities?

33 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington Questions In our wine review web site, what would the relationship be between a particular bottle of wine and the wine maker? »1 to 0 »1 to 1 »1 to many »many to many

34 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington Questions If we had two tables: WINE and WINE_MAKER and the schema looked like this: »WINE: wine_id, wine_name, wine_type »WINE_MAKER: maker_id, maker_name, city, phone Which table will take which primary key as a foreign key to build this relationship? Remember the relationship is: 1 WINE_MAKER to many WINE

35 The Information School of the University of Washington Nov 29fit forms © 2006 University of Washington Questions Can I create two different forms that update the same information? Explain why this is/is not possible.