Tags / greatest-n-per-group
Oracle SQL Query to Extract Last Entry Date per Category
Querying Single Rows in a Table with Multiple Rows in a Subquery Using Row Number and Aggregate Functions
Retrieving the Second Newest Record in SQL Queries Using Window Functions
Selecting Distinct Records with MySQL's Max and Distinct: A Step-by-Step Solution Using `deleted_at` Column
Selecting Customer Names with Maximum Invoice Value Using SQL Joins and Subqueries