Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sampling a percentage for each group

Status
Not open for further replies.

Jumroo

Programmer
Aug 27, 2004
24
US
i have a requirement where i need to sample a 5% of records for each user group.


select usr_id,user_name,batch_id,batch_date from batch_table

i want 5% of each users records for each month. is it possible?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top