Decentro interview question

SQL query for highest n objects.