This document contains 4 SQL queries:
1) Counts the total sales and number of sales reps by country for reps hired over 1 year ago grouped by country and job.
2) Summarizes product sales quantities and maximum unit price by product name for products sold in the US grouped by product.
3) Lists product name, quantity on hand, and location concatenated from city and street for inventory grouped by product and location.
4) Calculates a percentile salary and average range by job title grouped by title and percentile.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
28 views2 pages
Consultas
This document contains 4 SQL queries:
1) Counts the total sales and number of sales reps by country for reps hired over 1 year ago grouped by country and job.
2) Summarizes product sales quantities and maximum unit price by product name for products sold in the US grouped by product.
3) Lists product name, quantity on hand, and location concatenated from city and street for inventory grouped by product and location.
4) Calculates a percentile salary and average range by job title grouped by title and percentile.