Is there an easy way of using the LIMIT clause to only pull the top N values for each different unique values? For example, if we have 30 different, numerical rows for each A
, B
, and C
, how can we only pull up the first 5, 8, or N rows for each A
, B
, and C
?
Thanks in advance!