Limit the number of rows per group
727204Oct 10 2009 — edited Oct 10 2009Hi guys,
I would like to use a query that returns only an n number of rows per group, and still show all the collumns of a table.
For example:
We have a table_customer, I would like to retrieve a 100 records per dealer in one sql
What would be the best way to do this? It doesnt realy matter which records I retrive, the first 100 or random etc.
thanks in advance