stevencanplan.com
Pick the lowest and highest numbers in an array of numbers in PostgreSQL
I thought solving this problem took longer than it should have. I thought there would have been an integrated function in PostgreSQL to pick the lowest (smallest) and highest (largest) numbers in a…