Random rows from db with each having equal probability

后端 未结 0 646
渐次进展
渐次进展 2020-11-27 18:36

I have a database where I have a table with 100 rows, and I want to select 5 rows at random from that table such that each row has an equal chance to be selected.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题