Shelly Cashman: Microsoft Access 2016

Slides:



Advertisements
Similar presentations
Modeling the Data: Conceptual and Logical Data Modeling
Advertisements

Database Design Conceptual –identify important entities and relationships –determine attribute domains and candidate keys –draw the E-R diagram Logical.
1 5 Concepts of Database Management, 4 th Edition, Pratt & Adamski Chapter 5 Database Design: Normalization.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 5 Normalization of Database Tables.
1 5 Concepts of Database Management, 4 th Edition, Pratt & Adamski Chapter 5 Database Design 1: Normalization.
Concepts of Database Management, Fifth Edition
A Guide to SQL, Eighth Edition Chapter Two Database Design Fundamentals.
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
Concepts of Database Management Sixth Edition Chapter 5 Database Design 1: Normalization.
Concepts of Database Management, Fifth Edition
1 A Guide to MySQL 2 Database Design Fundamentals.
1 A Guide to MySQL 2 Database Design Fundamentals.
Concepts of Database Management Eighth Edition Chapter 6 Database Design 2: Design Method.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
Concepts of Database Management Eighth Edition Chapter 3 The Relational Model 2: SQL.
Concepts of Database Management, Fifth Edition Chapter 6: Database Design 2: Design Methodology.
The University of Akron Dept of Business Technology Computer Information Systems The Relational Model: Concepts 2440: 180 Database Concepts Instructor:
Concepts of Database Management Seventh Edition Chapter 5 Database Design 1: Normalization.
1 2 Concepts of Database Management, 4 th Edition, Pratt & Adamski Chapter 2 The Relational Model 1: Introduction, QBE, and Relational Algebra.
© 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license.
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license.
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license.
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license.
© 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license.
Microsoft Access 2010 Chapter 11 Database Design.
McGraw-Hill/Irwin Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 6 Modeling the Data: Conceptual and Logical Data Modeling.
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
Normalizing Database Designs. 2 Objectives In this chapter, students will learn: –What normalization is and what role it plays in the database design.
New Perspectives on Microsoft Access 2016
Logical Database Design and the Rational Model
Normalization.
Chapter 5: Job Order Costing
A Guide to SQL, Eighth Edition
Revised: 2 April 2004 Fred Swartz
SEEM3430: Information Systems Analysis and Design
Chapter 2: Relational Model
© 2014 by McGraw-Hill Education. This is proprietary material solely for authorized instructor use. Not authorized for sale or distribution in any manner.
Shelly Cashman: Microsoft Word 2016
MIS 322 – Enterprise Business Process Analysis
Functional Dependencies
Tables and Their Characteristics
Modern Systems Analysis and Design Third Edition
Shelly Cashman: Microsoft Excel 2016
Exchanging Data with Other Programs
Performing What-if Analysis
Analyzing Data with PivotTables
Chapter 11 Database Design
Databases and Information Management
Chapter 9 Designing Databases
Relational Model and ER Model: in a Nutshell
© 2011 Pearson Education, Inc. Publishing as Prentice Hall
Concepts of Database Management Eighth Edition
Normalization of Database Tables PRESENTED BY TANVEERA AKHTER FOR BCA 2ND YEAR dated:15/09/2015 DEPT. OF COMPUTER SCIENCE.
Chapter 6 Normalization of Database Tables
Normalization Normalization theory is based on the observation that relations with certain properties are more effective in inserting, updating and deleting.
Databases and Information Management
CHAPTER 5 Inflation: Who Wins, and Who Loses?
Chapter 14 Normalization.
System Analysis and Design
Putting it All Together
Design tools and techniques for a relational database system
Entity-Relationship Diagram (ERD)
Chapter 4: documenting information systems
CHAPTER 1 Introduction to International Macroeconomics
Monetary Aggregates: Measuring Money
CHAPTER 7 Financial Intermediation, Markets and Intermediaries
Shelly Cashman: Microsoft Access 2016
Microsoft Access Date.
Presentation transcript:

Shelly Cashman: Microsoft Access 2016 Module 11: Database Design © 2017 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license distributed with a certain product or service or otherwise on a password-protected website for classroom use.

Objectives (1 of 2) Understand the terms entity, attribute, and relationship Understand the terms relation and relational database Understand functional dependence and identify when one column is functionally dependent on another Understand the term primary key and identify primary keys in tables

Objectives (2 of 2) Design a database to satisfy a set of requirements Convert an unnormalized relation to first normal form Convert tables from first normal form to second normal form Convert tables from second normal form to third normal form Understand how to represent the design of a database using diagrams

Project – Design a Database Figure 11-1: display of database design process

Entities, Attributes, and Relationships An entity is like a noun: it is a person, place, thing, or event An attribute is a property of an entity A relationship is an association between entities

Relational Databases (1 of 4) The formal term for a table is relation Each column in a table should have a unique name, and entries in each column should match this column name A relation is a two-dimensional table in which: The entries in the table are single-valued; that is, each location in the table contains a single entry Each column has a distinct name, technically called the attribute name All values in a column are values of the same attribute; that is, all entries must correspond to the column name Each row is distinct; that is, no two rows are identical

Relational Databases (2 of 4) A relational database is a collection of relations Rows in a table (relation) often are called records or tuples Columns in a table (relation) often are called fields or attributes To depict the structure of a relational database, you can use a commonly accepted shorthand representation

Relational Databases (3 of 4) If you know that whenever you are given a value for one field, you will be able to determine a single value for a second field, the first field is said to determine the second field The second field is said to be functionally dependent on the first

Relational Databases (4 of 4) The primary key of a table is the field or minimum collection of fields — the fewest number of fields possible — that uniquely identifies a given row in that table Figure 11-6: display of complete shorthand representation

Database Design Examine the requirements and identify the entities, or objects, involved Identify a unique identifier for each entity Identify the attributes for all the entities Identify the functional dependencies that exist among the attributes Use the functional dependencies to identify the tables Determine and implement relationships among the entities One-to-many Foreign key Many-to-many

Normalization (1 of 2) After you create your database design, you should analyze it using a process called normalization to make sure the design is free of potential update, redundancy, and consistency problems The normalization process involves converting tables into various types of normal forms A table that contains a repeating group, or multiple entries for a single row, is called an unnormalized table

Normalization (2 of 2) Conversion to First Normal Form In general, when converting a non-1NF table to 1NF, the primary key typically will include the original primary key concatenated with the key of the repeating group, that is, the field that distinguishes one occurrence of the repeating group from another within a given row in the table Second Normal Form A table (relation) is in second normal form (2NF) if it is in first normal form and no nonkey field is dependent on only a portion of the primary key Third Normal Form A table is in third normal form (3NF) if it is in second normal form and if the only determinants it contains are candidate keys Any field or collection of fields that determines another field is called a determinant

Special Topics (1 of 3) Obtaining Information from Existing Documents Existing documents can often furnish helpful information concerning the database design You need to know how to obtain information from the document that you will then use in the design process

Special Topics (2 of 3) Diagrams for Database Design Figure 11-29 (a): display of Access relationship diagram for PrattLast Associates database Figure 11-29 (b): display of Access relationship report for PrattLast Associates database

Special Topics (3 of 3) Entity-Relationship Diagrams (ERD) Figure 11-31: display of sample ERD for the PrattLast Associates database