Upload
preston-byrd
View
36
Download
3
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
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
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
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
Miniworld – Relationship List
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
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*];
Rapid Prototyping
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
Thank You!
Any Questions ???