How should I write query for this? Consider P1(a, b) and P2(c, d) to be two points on a 2D plane.How should I write query for this? Consider P1(
How should I write query for this? Consider P1(a, b) and P2(c, d) to be two points on a 2D plane.How should I write query for this? Consider P1(