I need to apply an ST_distance query to find distance from the given table. How should I tell my query to take points one after the other consecutively on its own or like if the teacher specifies to find the distance between point 3 and 5? I just know this.
It'll be great if the queries are simple cause I'm newbie at this. I'm used to Python but not SQL.
SELECT name,ST_AsText(geom)
FROM testpoints
LIMIT 2;
select ST_Distance(
ST_GeometryFromText('POINT(73.08435381390693 33.72475853055647)'),
ST_GeometryFromText('POINT(73.09256019460882 33.73467209912755)')
);
