Skip to main content
2 of 4
added 20 characters in body
ypercubeᵀᴹ
  • 98.6k
  • 13
  • 215
  • 305
SELECT id,col1,col2,col3, riskLvel
FROM table1
where risklevel IN ( SELECT MAX(riskLevel)
                     FROM table1
                     GROUP BY col1 )