I am trying to create a subquery that only contains the name from an column where another column has the lowest value from 1 table. Can this be done with having, or do I need to use something else?
Example
name 1 value 5
name 2 value 7
name 3 value 2
That’s in the table I just want name 3 as result in subquery
OR