Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

List the item number, description, and on - hand value for each item whose on - hand value is at least $ 1 , 5

List the item number, description, and on-hand value for each item whose on-hand value is at least $1,500. Assign the name ON_HAND_VALUE to the computed column.
Use the IN operator to list the item number and description of each item in category GME or PZL.
Find the number and name of each customer whose name begins with the letter "C."
Lisi all details about all items. Order the output by description.
List all details about all items. Order the output by ............... ber within storehouse. (That is, order the output by storehouse and then by item number.)
How many customers have balances that are more than their credit limits?
Find the total of the balances for all customers represented by sales rep 15 with balances that are less than their credit limits.
List the item number, description, and on-hand value of each item whose number of units on hand is more than the average number of units on hand for all items. (Hint: Use a subquery.)
What is the price of the least expensive item in the database?
What is the item number, description, and price of the least expensive item in the database? (Hint: Use a subquery.)
List the sum of the balances of all customers for each sales rep. Order and group the results by sales rep number.
List the sum of the balances of all customers for each sales rep, but restrict the output to those sales reps for which the sum is more than $5,000. Order the results by sales rep number.
List the item number of any item with an unknown description.
image text in transcribed

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

Professional SQL Server 2012 Internals And Troubleshooting

Authors: Christian Bolton, Justin Langford

1st Edition

1118177657, 9781118177655

More Books

Students also viewed these Databases questions

Question

5-3. What functions do headings serve? [LO-2]

Answered: 1 week ago