We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
HAVING is used with GROUP BY and not ORDER BY.
In the question you have been asked to sort according to the employee_id. This can be done by using ORDER BY.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Employee Salaries
You are viewing a single comment's thread. Return to all comments →
HAVING is used with GROUP BY and not ORDER BY. In the question you have been asked to sort according to the employee_id. This can be done by using ORDER BY.