Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 3

Sales Quarter Company

Company Qtr1 Qtr2 Qtr2 Sony


LG 100 1000
LG 200 2000
SONY 300 3000
PHILIPS 800 4000
SONY 500 5000
LG 100 1000
SONY 300 3000
PHILIPS 400 4000
Calculate
Sum of Sales Qtr1 of LG 11000
Avg of Sales Qtr1 of LG 3666.667
Max sales of Qtr2 of SONY 5000
Min sales of Qtr1 of SONY 3000
DATABASE FUNCTIONS
DSUM
DAVERAGE
DMAX
DMIN
DCOUNT
Region Name Sales data-subtotal
East Ahmad 25000
North Pankaj 50000 1. region wise sum of sales
East Ali 70000 2. region wise avg of sales
South Pankaj 50000 3. region wise max of sales
South Ali 15000 4. region wise min of sales
South ALi 3400 Note: first sort records Region wise in asc/desc
West Pankaj 30000
North Ravi 1000 1. name wise sum of sales
West Ravi 6500 2. namewise avg of sales
3. name wise max of sales
4. name wise min of sales
Note: first sort records Name wise in asc/desc

You might also like