I get an error when executing the following query:
SELECT top 10 centroid(s_region), distance(centroid(s_region), point('', 187.48, 2.05))
FROM ivoa.ObsCore
ORDER BY distance(centroid(s_region), point('', 187.48, 2.05))
Without the ORDER BY it works smoothly.
Cheers,
Alberto
I get an error when executing the following query:
SELECT top 10 centroid(s_region), distance(centroid(s_region), point('', 187.48, 2.05))
FROM ivoa.ObsCore
ORDER BY distance(centroid(s_region), point('', 187.48, 2.05))
Without the ORDER BY it works smoothly.
Cheers,
Alberto