Skip to content
Advertisement

SQL Select row with max value in one column

I have the following query

RESULT:

I want to select the row with the MAX sum_hours. I tried using

But this returns the exact same result (all three rows).

Any idea how I can achieve this?

Advertisement

Answer

try this

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement