Select X # of records for each Name in the column

S

Sheryl Scanlon

I have a table with a name column in it (among others).
There are multiple records for each name and they all have
different numbers of records.

I need to pull a random sample of 10 records for each name
in the table and put them into a spreadsheet. How do I go
about this query/queries to accomplish this?

When I tried to do it, I could come up with a random
sampling of the whole table, but I couldn't divide it up
to give me 10 of each name.

Thanks for any help you can provide.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top