Nearest Point Pair Distance in 2D — SQL Practice | OneNoughtOne