SQL Selecting dates with maximum sale for each department

sql select max group by
sql select max value for each group
sql select max date for multiple records
select max sql
count(max()) sql
sql max(count per group)
sql server select row with max value
where date = max(date) in sql