How to get 3 weighted random data
How can i get 3 different weighted random data from database. Weighted random means i have a column which keeps the weight of the datas. So weight affects the random.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Vijaya KadiyalaRank #1,085 · 1.8K reputationPosted Oct 4, 2008, 12:42 PM EDT
Hi
Are you looking for random set of records from your database tables? If YES then then you can use RAND() or NEWID() or TOP functions to select. If NO then could you please paste some sample data.
Thanks -- Vj
http://dotnetvj.blogspot.com
http://oravj.blogspot.com