1. RebeccaKatz
Lab 10
Csc 239-01
/* step1-List the part number, part description, and units on hand of all parts whose
number of units on hand is more than average*/
/*step 2-Determine the mostexpensive partinthe database. The MAX function shouldalsobe
used*/
2. /*step 3-Use the IN operator to find the customer name, last name and first name for
every customer who placed an order on September 5, 2015. */ can repeat names if
customer made more than one order.
/*step 4- Repeating the exercise from the prior step using the EXISTS operator*/
3. /*step 5- Finding the customer number, last name, and first name for every customer
who did not place an order on September 5, 2015 */
4. /*step 6- Finding the sales rep number, last name, and first name for every sales rep
who represents at least one customer with a credit limit of $2000*/
/*step 7- List the order number and order date for every order that was placed by Mary
Nelson and that contains an order line for an iron. */
/*step 8- List the order number and order date for every order that was placed by Mary
Nelson and that does not contain an order line for an iron. Use a SELECT and a sub
SELECT instruction set.*/
5. /*step 9- Listing the part number, part description, unit price, and item class for every part that
has a unit price greater than the unit price of any part in item class HW via the ALL
OPERATOR.*/
/*step 10- same situation as step 9 except use the ANY Operator*/