Lab 12
 Objective
SQL Script required → LAB SQL Script
Using some of the SQL commands you have learned, create a SQL statement to answer the following questions. Once you have created the SQL command, copy and paste your Query and results and submit via a word document (copy-paste results)
Â
Using the Customers table of sql_store
Using the employees table in the sql_hr database, create the following aggregated results. Create an alias for each of the results
Largest salary
Average Salary
Lowest Salary
Total payroll for all the employees
Create the following aggregated results using the products table of the sql_inventory database. Create an alias for each of the results
Most expensive product
Least expensive product
Average product price
Â