Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Answer the questions below by developing queries in SQL. Please input queries in SQL to make sure they answer the questions. 1. Which category of

image text in transcribed

Answer the questions below by developing queries in SQL. Please input queries in SQL to make sure they answer the questions.

1. Which category of animal was most likely (percent) to be adopted in the first three months?

2. Which employee had the highest percent of the number of sales (not value) in January?

AdoptionGroup AdoptionID ContactName Animal Animalld Name Category Breed Dateom Gender Registered Color Photo ImageFile Imageheight ImageWidth AdoptionllD SalelD ContactPhone Breed Category Breed City EmployeelD Supplier LastName CitylD ZIPCode City State AreaCode Population1990 Population1980 Country Latitude Longitude Category Registration FirstName Phone Address Name ContactName Phone CitylD TaxPayerlD DateHired DateReleased Sale ZIPCode CitylD Customer Salel Managerlb Employeelevel Title SaleDate EmployeelD CustomerlD SalesTax CustomerlD Phone FirstName LastName Address ZIPCode CitylD MerchandiseOrder OrderDate ReceiveDate SupplierlD EmployeelD ShippingCost Orderltem PONumber ItemiD Quantity Cost ItemID Description QuantityOnHand Saleltem SalelD ItemiD Quantity SalePrice Category AdoptionGroup AdoptionID ContactName Animal Animalld Name Category Breed Dateom Gender Registered Color Photo ImageFile Imageheight ImageWidth AdoptionllD SalelD ContactPhone Breed Category Breed City EmployeelD Supplier LastName CitylD ZIPCode City State AreaCode Population1990 Population1980 Country Latitude Longitude Category Registration FirstName Phone Address Name ContactName Phone CitylD TaxPayerlD DateHired DateReleased Sale ZIPCode CitylD Customer Salel Managerlb Employeelevel Title SaleDate EmployeelD CustomerlD SalesTax CustomerlD Phone FirstName LastName Address ZIPCode CitylD MerchandiseOrder OrderDate ReceiveDate SupplierlD EmployeelD ShippingCost Orderltem PONumber ItemiD Quantity Cost ItemID Description QuantityOnHand Saleltem SalelD ItemiD Quantity SalePrice Category

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

Students also viewed these Databases questions