Last answered:

26 May 2023

Posted on:

23 May 2023

0

Another way to solve this problem

Hi Team,


I solved this problem and get similar answer. 


SELECT 
    e.gender, t.title, COUNT(e.emp_no) AS count
FROM
    employees.employees e
        JOIN
    employees.titles t ON e.emp_no = t.emp_no
WHERE
    t.title = 'Manager'
GROUP BY e.gender;

1 answers ( 0 marked as helpful)
Instructor
Posted on:

26 May 2023

0

Hi Juzar!
Thanks for reaching out.


Yes, this is also a valid solution. Bravo!


Hope this helps.
Best,
Tsvetelin

Submit an answer