1、题目描述 来源:力扣(LeetCode) 2、解题思路 两表联查,记得让距离计算为正where p1.x>p2.x 3、提交记录 select min(p1.x-p2.x) as shortest from point p1,point p2 where p1.x>p2.x