instruction: For those employees who was hired before 2002-06-21, find hire_date and the sum of salary bin hire_date by weekday, and visualize them by a bar chart, sort in desc by the y-axis please.
response: SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY SUM(SALARY) DESC