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