sql select lowest value row

Solutions on MaxInterview for sql select lowest value row by the best coders in the world

showing results for - "sql select lowest value row"
Liah
22 Jan 2020
1SELECT t1.*
2FROM employees t1
3INNER JOIN (
4    SELECT id, min(salary) AS salary FROM employees GROUP BY id
5) t2 ON t1.id = t2.id AND t1.salary = t2.salary;