Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in greatest-n-per-group

Need To Pull Most Recent Record By Timestamp Per Unique ID

SQL TOP 1 returning null when used in a sub-query

LIMIT per group - Google BigQuery/Standard SQL

How to get Top 10 for a grouped column?

Retrieve a particular month SQL Records from Master Table - CDC Enabled

Select 2 products per city with most counts in PostgreSQL

How to return 1 row for each distinct value in a given column in Oracle? [duplicate]

In SQL Server, how to pick top 4th row?

SQL return transaction table with the date of previous payment

A query to pick out the highest ten values, or the highest 10%, from groups within a table

SQL to get unique rows in Netezza DB

Select N records for each category and order by X

retrieve the most recent record for each customer

mysql query to retrieve first 2 records for each item type

How to use SELECT DISTINCT ON with MySQL and Rails

To find Lowest Experience of any Employee by writing a query in GRID DB

SQL Server select max date per ID

Get max ID for every Type and every Date from a lookup table

Joining only one row in doctrine

Querying single oldest record for each ID