Returns the ST_Geometry type of the ST_Geometry value.
Returns a VARCHAR(128) value that indicates the ST_Geometry type. The return value can be any of these strings:
All ST_Geometry types.
SELECT skey
FROM sample_shapes
WHERE shape.ST_GeometryType() = 'ST_LineString';