Decentro Interview Question

SQL query for highest n objects.