Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Figure 3 - 2 8 : BITM 5 2 0 - Project 4 Submit either an access database with each of your queries numbered in
Figure : BITM Project
Submit either an access database with each of your queries numbered in the database or
submit a Word document with the query syntax. You will be graded pt per question
based on the accuracy of the query results.
Use the following tables for your answers to the questions
PETOWNER OwnerID OwnerLastName, OwnerFirstName, OwnerPhone, OwnerEmail
PET PetID PetName, PetTyoe, PetBreed, PetDOB, OwnerID
PETPetID PetName, PetTyoe, PetBreed, PetDOB, PetWeight, OwnerID
BREED BreedName MinWeight, MaxWeight, AverageLifeExpectancy
Sample data for these tables are shown in Figures and For each SQL statement you
write, show the results based on these data.
Figure :
PETOWNER Data
Figure :
PET Data Figure :
PET Data
Figure :
BREED Data
Write an SQL statement to display all columns of all rows of PET. Do not use the
asterisk notation.
Write an SQL statement to display all columns of all rows of PET. Use the asterisk
notation.
Write a SQL statement to display the breed and types of all pets.
Write an SQL statement to display the breed, type, and DOB of all pets having the type
Dog.
Write an SQL statement to display the PetBreed column of PET.
Write an SQL statement to display the PetBreed column of PET. Do not show
duplicates.
Write an SQL statement to display the breed, type, and DOB for all pets having the type
Dog and the breed Std Poodle.
PET Data
Figure :
BREED Data
Write an SQL statement to display all columns of all rows of PET. Do not use the
asterisk notation.
Write an SQL statement to display all columns of all rows of PET. Use the asterisk
notation.
Write a SQL statement to display the breed and types of all pets.
Write an SQL statement to display the breed, type, and DOB of all pets having the type
Dog.
Write an SQL statement to display the PetBreed column of PET.
Write an SQL statement to display the PetBreed column of PET. Do not show
duplicates.
Write an SQL statement to display the breed, type, and DOB for all pets having the type
Dog and the breed Std Poodle.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started