Jul 25 '21Comments: 8Answers: 3
-1
This is practice with the MySQL Employees DB. The diagram for it ishere.
I want to know the top 10salaries.salary, byemployees.gender.
I have tried:
SELECT DISTINCT employees.emp_no, employees.first_name, employees.last_name, employees.gender, salaries.salaryFROM employees JOIN salaries ON employees.emp_no = salaries.emp_no ORDER BY salaries.salary DESC LIMIT…Top comments(0)
Subscribe
For further actions, you may consider blocking this person and/orreporting abuse



