ST_Distance method for type ST_Geometry

Returns the smallest distance between the geometry-expression and the specified geometry value.

 Syntax
 Parameters
 Returns
 Remarks
 See also
 Standards and compatibility
 Example