Top-N Sorts: Limit and Pagination

Learn about limits, pagination, and why we should avoid offsets in queries.

It would be pretty interesting to get the list of the top three drivers in terms of races won by decade. It’s possible to do so thanks to advanced PostgreSQL date functions manipulation together with the implementation of lateral joins.

Get hands-on with 1400+ tech skills courses.