Hot answers tagged postgresql
Corrective If instead of generating one random value we generate S random values where S is the sample size, then order all of the random generated values, it will be sampling with replacement. (I don't know if I am right.) You are wrong in two points. Your original query does not generate "one random value". random() is a volatile function that ...
Only top voted, non community-wiki answers of a minimum length are eligible