gustafn
committed
on 31 Aug 20
prefer SQL max() function over sort and limit 1