So, say you have a database that records the foo for bar. In mysql if you want to get the second top 5 foos, you would do this:
select foo from bar order by foo desc limit 5,5
Pretty straight forward, order by foo going down, start at 5, give me the next 5
(
Read more... )