Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please solve the following query by SSMS, script has to be opened. The organizer is requesting a list of all products with a price less

Please solve the following query by SSMS, script has to be opened.

imageimage

The organizer is requesting a list of all products with a price less than or equal to the average product MSRP. 1. Write a query that makes use of a WHERE subquery to list the product name and MSRP of every product that with an MSRP greater than the average MSRP. (2 marks for select, 1 mark for from, 2 marks for where) 2. Use an aggregate function in your subquery to calculate the average MSRP. (3 marks for subquery with aggregate function) RESULT SET (8 marks) (1 mark for generating result set, 1 mark for each of five rows, 1 mark for each of two headings) 1 2 Pr_Name Jersey - XL Jersey - XXL MSRP 125.00 150.00

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_2

Step: 3

blur-text-image_3

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

Using Excel & Access for Accounting 2010

Authors: Glenn Owen

3rd edition

1111532672, 978-1111532673

More Books

Students also viewed these Databases questions

Question

How would you describe the work atmosphere?

Answered: 1 week ago

Question

What are the five steps necessary to create a report?

Answered: 1 week ago