Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in greatest-n-per-group

How to find most-correlated X for each Y?

SQL max value in one column

mysql select 2 row from each group by

Delete duplicate rows but keep the earliest row (by date criteria) - SQL Server

Get records for each person's each day's min datetime

Get top most parent by nth child id?

How to create a good request with "max(count(*))"?

Select oldest two records from 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