On Wednesday, February 28, 2024, Dian Fay <di@nmfay.com> wrote:
Every `random()` invocation in the select list uses a single consistent value within each returned row. Remove the `order by random()` and values become randomized as expected, but it gets a bit stranger:
This seems to be one of those “won’t fix” bugs that stems from the parser being a bit too liberal in what it accepts as valid SQL.