UtterAccess.com
Thank you for your support!      
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

> Randomly select rows by category    
 
   
atrox
post Oct 30 2009, 11:09 AM
Post #1

New Member
Posts: 4



I have a table from which I need to randomly select rows. In the table, I have a category called "Ind" which has about 100 individual values in it and I need to select 3 rows from each of these individual values- so, in the end, about 300 rows should be randomly selected from the entire table. Can anyone help with how to code for this (I am somewhat new to SQL).
Go to the top of the page
 
+

Posts in this topic


Reply to this topicStart new topic

 



RSS Go to Top  ·  Lo-Fi Version Time is now: 4th February 2012 - 11:22 PM