Top Earners

  • + 0 comments
    SELECT
        months * salary AS ganhos,
        COUNT(*) AS total
    FROM
        Employee
    GROUP BY
        months * salary
    HAVING
        ganhos = (SELECT MAX(months * salary) FROM Employee)