Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Use Subquery to list the animalid, list price and breed of dogs that have a list price greater than the average list of dogs

1. Use Subquery to list the animalid, list price and breed of dogs that have a list price greater than the average list of dogs taht are of breed Cocker Spaniel or Norfolk Terrier. Sort in Descending order.

2. Write a delete statement that deletes all of the unpaid invoices in the invoiceCopy table that are from vendors located in either MI or CA. (You may use subquery or join).

3. Create a view named Top5EmpsByBirdValue that returns employee id, lastname and total(where total is the summation of cat listprice value.) Show only top 5 in descending order

Please solve all of them correctly

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

1 2 3 Data Base Techniques

Authors: Dick Andersen

1st Edition

0880223464, 978-0880223461

More Books

Students also viewed these Databases questions