D
DayStar
I have a table that contains dealer information and
account numbers. I need to be able to pull 10% of the
records for each of the dealers on the table, by dealer.
For instance, Dealer 1 has 100 records, dealer 2 has 40
recrods. I need to be able to pull every tenth record for
dealer 1 (total of 10 records) and every tenth record for
dealer 2 (total of 4 records), etc. I have tried queries
that group and count and can get sums, but cannot get a
clean pull for each dealer.
Any ideas?
account numbers. I need to be able to pull 10% of the
records for each of the dealers on the table, by dealer.
For instance, Dealer 1 has 100 records, dealer 2 has 40
recrods. I need to be able to pull every tenth record for
dealer 1 (total of 10 records) and every tenth record for
dealer 2 (total of 4 records), etc. I have tried queries
that group and count and can get sums, but cannot get a
clean pull for each dealer.
Any ideas?