<quote who="Tom Lane"> > I'd suggest using DISTINCT ON (catnum) with ORDER BY catnum, random(). > See the SELECT reference page's "weather reports" example for > background. Good suggestion. Thank you Tom. Thomas
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных