Point table with itself, ensuring that the x-values of the two instances of the table are not equal to avoid comparing a point with itself.MIN() function to find the smallest distance from the calculated distances.erDiagram
Point {
int x PK
}