I have a small point dataset, I perform the following I get the 10 KNN from the coordinate. How do I first select a point from the dataset and with that select the 10 nearest neighbours (not including the original point - if possible)?
SELECT spatial_id, geom
FROM rhp_tvp.spatial
ORDER BY geom <-> 'SRID=23033;POINT(280100 4683200)'::geometry
LIMIT 10