Since the `point`

table is already sorted and has an `id`

column, the only thing we need to do is to find out the minimum difference between 2 adjacent x values in the table.

```
SELECT MIN(P1.x - P2.x) AS shortest
FROM point P1 JOIN point P2 ON P1.id = P2.id + 1
WHERE P1.id > 1;
```