SalesData table containing columns: SaleID, SalespersonName, Region, SaleAmount, and ItemsSold. Use built-in functions and grouping to generate reports for the management team.
SalespersonName, applying both LTRIM and RTRIM to clean the data, and format the names in completely UPPER case.LEN) of each salesperson's name.CEILING value of the SaleAmount.SUM of all SaleAmount in the entire company.MAX (highest) and MIN (lowest) sale amounts recorded.COUNT the total number of sales transactions recorded in the table.SaleAmount per Region. (Hint: Use GROUP BY Region).SaleAmount per SalespersonName.Region, but only shows regions where that total sum is greater than 100,000.SaleAmount per Region, but exclude any sales where the ItemsSold is less than 5 (filter rows first), and only show regions where the resulting average sale is greater than 1,000 (filter groups second).