Jump to content

karatekid36

Members
  • Posts

    148
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

karatekid36's Achievements

Member

Member (2/5)

0

Reputation

  1. With the below query, it returns the MIN salary for each department, but what if you want to list the EMP_ID or EMP_NAME in this list as well? Meaning you want to see the EMP_ID in the department that has the MIN(salary). Won't that end up expanding the returns to more or less all rows? SELECT department, MIN(salary) as "Lowest salary" FROM employees GROUP BY department; Thanks!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.