By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
version() |
---|
8.0.17 |
store_nbr | zipcode | distance |
---|---|---|
123 | 76135 | 2.356 |
456 | 76135 | 3.002 |
789 | 76135 | 9.521 |
store_nbr | zipcode | distance | ROW_RANK |
---|---|---|---|
123 | 76135 | 2.356 | 1 |
456 | 76135 | 3.002 | 2 |
789 | 76135 | 9.521 | 3 |