Since my approach for a test query which I worked on in this question did not work out, I\'m trying something else now. Is there a way to tell pg\'s random() fu
random()
(trunc(random() * 10) % 10) + 1