AC 2002 - 20031 Databases A technical example of a two table relational database.

Slides:



Advertisements
Similar presentations
Build a database I: Design tables for a new Access database
Advertisements

Exploring Microsoft Access 2003 Chapter 5 One-to-Many Relationships : Subforms and Multiple Table Queries.
Microsoft ® Access ® 2010 Training Design the tables for a new database.
Chapter 10: Designing Databases
Microsoft ® Access ® 2010 Training Create queries for a new database.
INFORMATION TECHNOLOGY Software Applications. WORD PROCESSING WP is the most commonly used package in business. A large number of documents are produced.
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
ISP 121 Access Normalization and Relationships. Normalization Say we’re operating a pet day-care and we need to keep information on our pets/customers.
Database table design Single table vs. multiple tables Sen Zhang.
Chapter 12: ADO.NET and ASP.NET Programming with Microsoft Visual Basic.NET, Second Edition.
Database Management An Introduction.
Development of a Web Based B&B Reservation System Elizabeth Gates 22July04.
Agenda for Week 1/31 & 2/2 Learn about database design
CHAPTER 3 DATABASES AND DATA WAREHOUSES. 3-2 STUDENT LEARNING OUTCOMES 1.Describe business intelligence and its role 2.Compare databases and data warehouses.
Week 2 Lecture 2 Structure of a database. External Schema Conceptual Schema Internal Schema Physical Schema.
Basic Concept of Data Coding Codes, Variables, and File Structures.
6 th Annual Focus Users’ Conference Application Editor and Form Builder Presented by: Mike Morris.
Database Software Application
Database Normalization CP3410 Daryle Niedermayer, I.S.P., PMP.
Access 2007 ® Use Databases How can Access help you to find and use information?
Database Design.  Define a table for each entity  Give the table the same name as the entity  Make the primary key the same as the identifier of the.
Phil Brewster  One of the first steps – identify the proper data types  Decide how data (in columns) should be stored and used.
Microsoft Access Database software. What is a database? … a database is an organized collection of data. A collection of data of similar information compiled.
Introduction to Databases. Overview  What is a Database?  What is a Database Management System?  How is information organized in a database?  What.
Database Tables two order-entry scenarios: A customer wants to cancel an order that she's placed. If her address is in a separate table from her.
® Microsoft Access 2010 Tutorial 6 Using Form Tools and Creating Custom Forms.
Business computing Session 2 22nd October The MS Office suite softwares The word processor : « Word » The spread sheet : « Excel » The presentation.
1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Access 2010 by Robert Grauer, Keith Mast, and Mary Anne.
Microsoft ® Office Access ™ 2007 Training Choose between Access and Excel ICT Staff Development presents:
MICROSOFT ACCESS 2007 BTA – Spring What is Access?  Microsoft Access is a database management system…this means that it contains database information.
Electronic Commerce & Marketing. What is E-Commerce? Business communications and transactions over networks and through computers, specifically –The buying.
Introduction to Microsoft Access 2003 Mr. A. Craig Dixon CIS 100: Introduction to Computers Spring 2006.
Microsoft Access Get a green book. Page AC 2 Define Access Define database.
Relational databases and third normal form As always click on speaker notes under view when executing to get more information!
Office 2003 Advanced Concepts and Techniques M i c r o s o f t Access Project 5 Enhancing Forms with OLE Fields, Hyperlinks, and Subforms.
MAIL MERGING IN MICROSOFT PUBLISHER CREATING LABELS AND DOCUMENTS FOR MULTIPLE PEOPLE AT ONCE.
Microsoft ® Office Access ® 2007 Training Build a database I: Design tables for a new Access database ICT Staff Development presents:
Business computing Databases 2 4 january Program Create a simple database with several tables using Access Study a more complex database available.
Normalization A technique that organizes data attributes (or fields) such that they are grouped to form stable, flexible and adaptive entities.
M Taimoor Khan Course Objectives 1) Basic Concepts 2) Tools 3) Database architecture and design 4) Flow of data (DFDs)
Microsoft ® Access ® 2010 Training Create Queries for a New Database If a yellow security bar appears at the top of the screen in PowerPoint, click Enable.
Making a great Project 2 OCR 1994/2360. Design Some candidates dive in, make a database or spreadsheet, then try and make a design afterwards. This won’t.
Relational Databases (MS Access)
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.NET Web Forms Business Forms © 2002 by Jerry Post.
Business computing Databases (3) 13 january 2004.
More about Databases. Data Entry through Forms Table View (Data sheet view) is useful for data entry of new records But sometimes customization would.
Chapter 17 Creating a Database.
Datafaces Data Base Management Software (DBMS) is a tool used to transform Data into Information. What is Data…? What is Information…? What is a Database…?
Business computing Databases (cont’d) 7 january 2004.
CHAPTER 3 DATABASES AND DATA WAREHOUSES. 2 OPENING CASE STUDY Chrysler Spins a Competitive Advantage with Supply Chain Management Software Chapter 2 –
® Microsoft Office 2013 Access Creating a Database.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
ITGS Databases.
Microsoft Office 2003: Advanced 1 ADVANCED MICROSOFT ACCESS Lesson 10 – Analyzing Data.
Business computing Databases 11 January Importance of Databases Databases are softwares to store, treat and retrieve (and therefore distribute)
Chapter 9 Vocabulary Databases. 1.Table – a collection of information, or data arranged in columns and rows. 2.Record – all of the information about one.
Connecting (relating) Data Tables to get Custom Records (Queries) Database Basics.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Chapter 7 Storing Organizational Information - Databases.
PREPARED BY: PN. SITI HADIJAH BINTI NORSANI. LEARNING OUTCOMES: Upon completion of this course, students should be able to: 1. Understand the structure.
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
Edexcel OnCourse Databases Unit 9. Edexcel OnCourse Database Structure Presentation Unit 9Slide 2 What is a Database? Databases are everywhere! Student.
Database Normalization. What is Normalization Normalization allows us to organize data so that it: Normalization allows us to organize data so that it:
Business computing Databases 14 December 2004.
Practical Office 2007 Chapter 10
Sharepoint Call Log Job Tool
Database Normalization
Business computing Session 9 Databases.
Concord Products Online
Presentation transcript:

AC Databases A technical example of a two table relational database

AC A quick review : The simplest databases are the electronic equivalent to a shoebox –the shoebox itself is a TABLE –each card is a RECORD –on each card : specific data item containers are FIELDS (filled in with data)

AC Let’s construct an example : A database of Water Treatment Stations –plants outside cities where used domestic waters are cleaned up What is the set of Water Treatment Stations that we shall consider ? –It will concern France. What information do we want to gather on each station ?

AC What information do we want to gather on each station ? The name The location (which city it serves) Its capacity Its production The technology used The operator The number of stations run by the operator Financial figures about the operator The type of franchise

AC Money Time used to be money Now : information is money

AC An example : Gather information on 200 domestic waste treatment plants in France It takes 15 days of a free trainee on the phone Then sell the study to many clients –cities that intend to build a plant –operators –suppliers, etc. eg : 1000 €/ study x 50 clients = €

AC Another example Innovative buildings –select 500 innovative buildings in France –gather information on the architects, the techniques, the materials, the builder, the suppliers, etc. –there are thousands of potential clients (all architects, all suppliers, etc.) –we can sell the study 1000 € to say 1000 clients –NOTE : for each of them, to reproduce the work would cost more than 1000 €… An architect is in the business of drawing bldgs, not creating and selling information 1000 x 1000 € = ?

AC Back to technicalities : Access is THE king information mgt software of the MS Office Suite It offers, like any other DB software, several VIEWS for the data : –the simplest : the TABLE presentation ; we see all the information at a glance –the most intuitive : the FORM presentation ; each record appears as ONE CARD

AC Where IS the information ? In the TABLE DON’T delete tables (unless you’re sure of what you’re doing) Not in the FORM displays We may delete a form display without much consequences

AC One problem : Access, like any DB, is designed to manage structured information It puts it into a table (with records, fields, etc.) It runs into the problem of repetitive information

AC Repetitive information : In our example every time we enter Lyonnaise in the « operator » field, we then have to enter 2500 in the field « number of stations run by the operator » Time consuming useless repetition Potential source of data entering mistakes

AC Solution : Create a separate table for « operators » Enter information specific to operators into this second database and LINK the operators table to the stations table. Our database will now be a multiple table database, also called a relational database

AC A frequent mistake : A frequent mistake is to create the second table into a new database No, no We must create the new table within the SAME database, just like we created new sheets within the same excel document (if we wanted to link them…)

AC The technique : We split the one table database into TWO tables Why ? Because there was repeated information, and we want to avoid that (There exists a tool that analyses how to split the information, we did not use it) We are still into ONE database There remains to link the two tables

AC Let’s step back, what do we do ? We split our initial UNIQUE table into several tables of information In our example the way to do it was natural and evident : have a main table for Stations and a « subsidiary » table for Operators In more complex situations there is no unique choice ; it is a matter of database architecture (we have the choice)

AC Database architecture With the same end use, some databases are beautiful, some databases are ugly It all depends upon the art of the architect The main database architecture tool is called UML (Uniformed Modelling Language)

AC Creating the link Determine which field in the subsidiary table will be the « handle » of the link with the main table Make it the primary key of the subsidiary table Go to the Relations view and « pick and slide »...

AC Difficulties FAQ Cannot create a « 1 to many » link : another person in the room uses the same name, with the same login Cannot « save as » : normal ACCESS is more complex than Word Why ? Because we ACCESS we work on the heart of information not just on displaying it