Answers for "get row from max"

0

get row from max

SELECT * 
FROM t1 WHERE (id,rev) IN 
( SELECT id, MAX(rev)
  FROM t1
  GROUP BY id
)
Posted by: Guest on August-04-2020

Browse Popular Code Answers by Language