0% found this document useful (0 votes)
40 views

Assignment 5and6

The document contains 10 tasks related to analyzing sales data: counting salespeople by name, displaying salespeople by order amount, counting salespeople by city, displaying salespeople by city and orders, displaying orders by salesperson and date, counting salespeople orders by date, selecting the first customer by name, finding largest orders by customer, finding maximum single order amounts, and counting salespeople by city and commission.

Uploaded by

Gaurav Rathi
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views

Assignment 5and6

The document contains 10 tasks related to analyzing sales data: counting salespeople by name, displaying salespeople by order amount, counting salespeople by city, displaying salespeople by city and orders, displaying orders by salesperson and date, counting salespeople orders by date, selecting the first customer by name, finding largest orders by customer, finding maximum single order amounts, and counting salespeople by city and commission.

Uploaded by

Gaurav Rathi
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Assignment 5 & 6

1) Count the number of Salesperson whose name begin with a/A. 2) Display all the Salesperson whose all orders worth is more than Rs. 2000. 3) Count the number of Salesperson belonging to Newyork. 4) Display the number of Salespeople belonging to Landon and belonging to Paris. 5) Display the number of orders taken by each Salesperson and their date of orders. 6) Write a query that counts the number of Salespeople registering orders for each day. 7) Write a query that selects the first customer in alphabetical order , whose name begins with G. 8) Find out the largest orders for Snum 1002 & 1007. 9) Find out the maximum single order amount of a Salesperson over Rs. 3000 in a day. 10) Find out the no. of Salesperson who belongs to same city and have same commission percentage.

You might also like