can be combined as
(sort-by val >)
In my last position, I often had to deal with multiple (+20) fields in the SELECT statement. It was easiest to read if the FROM statement was on a subsequent line; that way you will instantly know the table being used and will understand if a field is unfamiliar. Great shortcode though
This comment is hidden because it contains spoiler information about the solution
I'm very confused on why that solustion works. Can someone clarify please?
This was removed.
Darn. Did the tests include an empty list to test dividing by 0?
Just started using it.
I don't see what makes your solution more correct when zero is definitely not the smallest integer in an empty array. ;-)
Look at the description "...Returned table should be in the same format as provided...". Later on more data but "restricted columns" means "not as provided";-)...