HO 1 & 2 - Check Have you: Created a new Access database –Hands-on 1 Created a Suppliers table in design view –Hands-on 2 Downloaded and unzipped the two.

Slides:



Advertisements
Similar presentations
The Relational Model J.G. Zheng May 15 th Introduction Edgar F. Codd, 1970 One sentence to explain relational database model: Data are organized.
Advertisements

Exploring Microsoft Access 2003 Chapter 4 Proficiency: Relational Databases, External Data, Charts, Pivot, and the Switchboard.
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.
Relational Databases Relational Model Primary Keys Relation or Relationship Foreign Keys Relationships between entities Integrity Constraints Power of.
SUNY Morrisville-Norwich Campus-Week 10 CITA 130 Advanced Computer Applications II Spring 2005 Prof. Tom Smith.
11 3 / 12 CHAPTER Databases MIS105 Week-9/ Lec02 Irfan Ahmed Ilyas.
Relational Model Stores data as tables –Each column contains values about the same attribute –Each column has a distinct name –Each row contains values.
RELATIONSHIP  THE WAY TABLES ARE RELATED  A TABLE MUST PARTICIPATE IN AT LEAST ONE RELATIONSHIP  IN A BINARY RELATIONSHIP TWO ENTITIES PARTICIPATE 
Database Design Chapter 3.
COMPREHENSIVE Access Tutorial 2 Building a Database and Defining Table Relationships.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
MS Access 2007 IT User Services - University of Delaware.
Define Table Relationships—1 of 3 One of the most powerful features of a relational database management system, such as Access, is its ability to define.
Microsoft ® Office Access ® 2007 Training Build a database III: Build relationships for a new Access database ICT Staff Development presents:
Chapter 5 UNDERSTANDING AND DESIGNING ACCOUNTING DATA.
Database Relationships Objective 5.01 Understand database tables used in business.
N. J. Taylor Database Management Systems (DBMS) 1.
ACCESS CHAPTER 1. OBJECTIVES Tables Queries Forms Reports Primary and Foreign Keys Relationship.
Microsoft Access Lesson 3
Database Design Concepts
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Building The Database Chapter 2 “It is only the farmer.
Database Relationships. Types of Relationships One to one – Person to Driver’s License, Country to President, Person to Social Security Number (in theory)
Principles of Database Design, Part II AIMS 2710 R. Nakatsu.
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
RELATIONSHIPS Generally there are two main database types: flat-file and relational.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
® Microsoft Office 2010 Access Tutorial 2 Building a Database and Defining Table Relationships.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 9 1 Microsoft Office Access 2003 Tutorial 9 – Using Action Queries, and Defining Table Relationships.
MS Access: Creating Relational Databases Instructor: Vicki Weidler Assistant: Joaquin Obieta.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 9 – Building Links,
1 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. Access Module 1 Workshop 2 Tables, Keys, and Relationships Series Editor Amy Kinser.
CSCI 3140 Module 3 – Logical Database Design for the Relational Model Theodore Chiasson Dalhousie University.
CS 101 – Access notes Databases (Microsoft Access) 4 parts of a database database design –Try to understand the ideas behind database design, not just.
CPSC 203 Introduction to Computers Tutorial 03 & 29 By Jie (Jeff) Gao.
1 Outline  What is a Primary Key?  AutoNumber primary keys  Single-field primary keys  Composite-field primary key  About Foreign Keys  Database.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
Exploring Microsoft Access Chapter 6 Many-to-Many Relationships: A More Complex System.
Microsoft Access 2013 ®® Tutorial 9 Using Action Queries and Advanced Table Relationships.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. Adding a new field 1Right click the table name and select design view 2Type the field information at the end.
Access Review. Access Access is a database application A database is a collection of records and files organized for a particular purpose Access supports.
An Entity Relationship (ER) Diagram is a graphic that shows the interrelationship between entities in a database.
Rebecca McCready Faculty of Medical Sciences Newcastle University Lecture 2 – Relationships and Lookup fields.
Jozef Kuper.  Describe a Database  Entities  Atributes  Relationships.
ENTITY RELATIONSHIP DIAGRAM ENTITY RELATIONSHIP DIAGRAM IS A SPECIALIZED GRAPHIC THAT ILLUSTRATES THE INTERRELATIONSHIPS BETWEEN ENTITIES IN A DATABASE.
Relational Theory and Design
3. Relational Model Lingma Acheson Department of Computer and Information Science IUPUI CSCI N207 Data Analysis with Spreadsheets 1.
Build a database III: Build relationships for a new Access database Overview: You can relate This course teaches you how to build relationships between.
File and Database Design Class 22. File and database design: 1. Choosing the storage format for each attribute from the logical data model. 2. Grouping.
Chapter 9 Logical Database Design : Mapping ER Model To Tables.
SQL LANGUAGE and Relational Data Model TUTORIAL Prof: Dr. Shu-Ching Chen TA: Hsin-Yu Ha.
OBJECTIVES  Understand relational databases  Explore a database  Create a database  Create a table  Create primary keys  Relate two tables  Enter.
1 CHƯƠNG 4 Creating Relational Databases Understanding Table Relationships Example: This database tracks customers and their orders in two separate.
MIS 301 Information Systems in Organizations Dave Salisbury ( )
1 ER Modeling BUAD/American University Mapping ER modeling to Relationships.
D1 FMA Review. Many-to-Many Relationships - Examples Car Hire –A customer may hire one or more cars –A car may be hired by one or more customers Gym Club.
Chapter 4 Relational Database, Pivot Charts, and Switchboard.
Exploring Microsoft Access Chapter 5 One-to-Many Relationships: Subforms and Multiple Table Queries.
Chapter 3: Relational Databases
Teanna Clarke 6aQ What is a Entity-Relationship Diagram?  An Entity-Relationship Diagram (ERD) is a tool that graphically shows the connections among.
Database Overview What is a database? What types of databases are there? How are databases more powerful than spreadsheets?
AOIT Database Design Unit 3, Lesson 9 Data Integrity Copyright © 2009–2011 National Academy Foundation. All rights reserved.
Relational Databases.
Lingma Acheson Department of Computer and Information Science IUPUI
Databases and Access.
Presentation transcript:

HO 1 & 2 - Check Have you: Created a new Access database –Hands-on 1 Created a Suppliers table in design view –Hands-on 2 Downloaded and unzipped the two Excel files containing data for your tables –D1resources.zip

Have you: Used Paste Append to copy data from an Excel spreadsheet into the suppliers table Created a Products table by importing data from an Excel spreadsheet HO 3 - Check

Reminders Give your objects meaningful names and use the Use the sample Northwind database as a learning resource –But note it doesn’t adhere to the naming convention! naming convention

Naming Convention [prefix][tag][BaseName][Suffix] tblSuppliers frmSuppliersAndProducts sfrmProducts tblCountryLookup

Relationships... Three types One-to-One One-to-Many Many-to-Many create links between tables in a database

One to One One record in Table A is related to one record in Table B TutID Name RoomNumber... tblTutorsPublic TutID Salary BankAccount... tblTutorsPersonal Table ATable B 11

One to Many One record in Table A may be related to one or more records in Table B TutID Name RoomNumber... tblTutorsPublic ModID TutID Day Room... tblModules Table ATable B 1 8

Many to Many One record in either table can relate to many records in the other table ModID TutID Day Room... tblModules StuID Fname Sname... tblStudents ModID StuID Grade... tblStudentModules Table ATable B Linking table Composite Primary key

Terminology Primary or Parent Table Related or Child Table Primary Key Foreign Key Referential Integrity Entity

Review Tables and relationships are the foundation of your database Each table should have a primary key Enforce referential integrity to maintain consistency The fields that link the child table to the parent table are called foreign keys