BiggerBrother
Technical User
Ok, so its friday afternoon again, and here's the issue at the end of a long week!
I have a table, with IDs and TYPEs. What I need to be able to do is return a recordset with 2 random records for each TYPE. There are 30,000 records in the db, and 150 types, and I'm trying to avoid running 150 queries to grab 2 random records at a time.
Is this even possible?
Many thanks
BB
I have a table, with IDs and TYPEs. What I need to be able to do is return a recordset with 2 random records for each TYPE. There are 30,000 records in the db, and 150 types, and I'm trying to avoid running 150 queries to grab 2 random records at a time.
Is this even possible?
Many thanks
BB