Queries to find the top-N rows or page through results are common. For example, to find the three winners of a tournament, top five selling products or page 5 of the most recent comments.
But how do you write the SQL to answer these questions and which indexes ensure the statements are fast?
Watch the recording to learn the basics of order by, how to use fetch first to get the top-N rows and paged search results, and indexing strategies to make these queries fast.
Highlights include:
Share a link to this workshop via:
The QR code below is the URL for this workshop. Right-click to save the image to share with others.