12
Database Project: Type I Rob Christensen

Database Project: Type I

Embed Size (px)

DESCRIPTION

Database Project: Type I. Rob Christensen. Introduction. Miniworld Logical Design Rapid Prototyping Summary and Reflections. Miniworld. A database that could be used in an veterinarian practice specializing in small animals Entities - PET_OWNER - PET - BREED. Miniworld. - PowerPoint PPT Presentation

Citation preview

Page 1: Database Project: Type I

Database Project: Type I

Rob Christensen

Page 2: Database Project: Type I

Introduction

• Miniworld• Logical Design• Rapid Prototyping• Summary and Reflections

Page 3: Database Project: Type I

Miniworld

• A database that could be used in an veterinarian practice specializing in small animals

• Entities- PET_OWNER- PET- BREED

Page 4: Database Project: Type I

Miniworld

Page 5: Database Project: Type I

Miniworld – Selected AttributesAttribute Name OwnerID (Primary Key)Attribute Description This is an unique identification number that is associated with each pet owner

associated with the clinic. The veterinarian’s office is starting with 5001 as its first OwnerID number and will assign numbers chronologically from 5001 forward.

Data Type NumberField Size IntegerRequired YesIndex Yes (No duplicates)

Attribute Name ZipAttribute Description This is a five digit mailing code assigned to a geographical area associated with a city or

town by the United States Postal Service.Data Type TextField Size 6Required YesIndex No

Page 6: Database Project: Type I

Miniworld – Selected Attributes

Attribute Name WeightAttribute Description This field contains the weight of the animal in numeric format as measured by pounds.Data Type TextField Size 6Required YesIndex No

Attribute Name MaxWeightAttribute Description This field contains the maximum weight of the breed in numerical format as measured

by pounds.Data Type TextField Size 7Required NoIndex No

Page 7: Database Project: Type I

Miniworld – Relationship List

Page 8: Database Project: Type I

Logical Design

• PET_OWNER (OwnerID, FName, LName, Address, City, State, Zip, AreaCode, Phone, Email)

• PET (PetID, PetName, Type, Breed, Weight, OwnerID)

• BREED (BreedName, MinWeight, MaxWeight, AverageLifeExpectancy)

Note: Bold and Underline indicates Primary Key and Non-bold and underline indicates Foreign Key

Page 9: Database Project: Type I

Rapid PrototypingQuery 3 – This query was to determine the following. Which pet owners in the veterinarian practice are associated with which pets in the veterinarian practice by using a parameter search based on OwnerID? When the parameter search box labelled OwnerID appeared, I entered “5001” into the text area of the parameter search box to yield the output below. The name of the query in the Microsoft Access database is “OwnerID_Parameter_Search”.

SQL LanguageSELECT PET_OWNER.OwnerID, PET_OWNER.FName, PET_OWNER.LName, PET.PetNameFROM PET_OWNER INNER JOIN PET ON PET_OWNER.OwnerID = PET.OwnerIDWHERE PET_OWNER.OwnerID LIKE [*OwnerID*];

Page 10: Database Project: Type I

Rapid Prototyping

Page 11: Database Project: Type I

Summary and Reflections

• After running the queries, the database worked by providing output on the macro and micro levels

• Experience and skills related to other database products (e. g. FileMaker Pro) sometimes are and are not transferable to learning MS Access

• Learning how to use a database program is a procedural learning activity

• Had issues with running parameter search queries but resolved issues by taking two steps back to move four steps forward

Page 12: Database Project: Type I

Thank You!

Any Questions ???