Question: 4. Write a query to display the customer code, last name, first name and sum of all invoice totals greater than $1,000. Sort by the

 4. Write a query to display the customer code, last name,

4. Write a query to display the customer code, last name, first name and sum of all invoice totals greater than $1,000. Sort by the sum of invoice totals in descending order. Title the column of the sum of the invoice totals as Total Invoice and just display totals between $1,800 and $2,500.

5. Write a query to display the Product SKU, Product description and the Product Price as US currency (2 decimal points) sorted by Product Price. Label your column as SKU, Description and Price.

6. Write a query to display the last name, first name, title, department number for all employees who were hired during the calendar year of 2015. Sort the output by department number, last name, and first name.

7. Write a query to display the vender ID, name and Product SKU for ALL vendors, including those who do NOT provide us with products currently.

8. Write a query to display the vender ID and vender name for those vendors who do not currently supply us with products.

9. Write a query to display the employee number, last name, title, email and department name of each employee whose job title ends in the word ASSOCIATE (case insensitive). Sorted by department number and employee title.

10. Write a query to display the brand ID, brand name, brand type, and average price of product for the brand that has the largest average product price.

FIGURE P7.27 THE CHO7_LARGECO ERD LOCUSTOMER PK Custode CustFrame Cust Lname Cust Street Custy Cust State Cust ZIP Cust Balance LGBRAND PK Band.ID Brand Name Brand Type includes plapos LGINVOICE PK in Num appears on contains LGLINE PKFK1In Num PK Line Num FKZ Prod_SKU Line City Line Price + LGPRODUCT PK Prod SRL Prod Descript Prod Type Prod Base Prod Category Prod Price Prod QOH Prod Min FK1 Brand_10 FK Custcode Inv_Date Inv Total FK2 Employee_ID competes I provided by LGEMPLOYEE PK Em Num EmpFrame Emp_name Emp Emas Emp_Phone Emp Hiredate Emp_Title Emp_Comm FK1 Depl_Num Y has LGSALARY HISTORY PK.FK1 Emp Num PK Sal From Sal End Sal Amount LGSUPPLIES PK,FK1 Vend PK,FK2 ProslSKU prou des E empoys manges LGVENDOR PK Vend 10 LGDEPARTMENT PK Dest_Num Dept_Name Dept Mail Box Dept Phone FK1 Emp_Num Vend Name Vend_Street Vond City Vand State Vand ZIP

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!