> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ST_ZMin

Returns Z minima of the given geometry or null if there is no Z coordinate.

<img src="https://mintcdn.com/wherobots/wLm_IRUSNlHZTHJP/images/sql-functions/ST_ZMin/ST_ZMin.svg?fit=max&auto=format&n=wLm_IRUSNlHZTHJP&q=85&s=46135aca46566d1c51feac77754a52cd" alt="ST_ZMin" width="400" height="220" data-path="images/sql-functions/ST_ZMin/ST_ZMin.svg" />

## Signatures

```sql theme={"system"}
ST_ZMin(geom: Geometry)
```

## Parameters

<ParamField body="geom" type="Geometry" required>
  The input geometry.
</ParamField>

## Return type

<ResponseField type="Double">
  A numeric value.
</ResponseField>

## Example

```sql theme={"system"}
SELECT ST_ZMin(ST_GeomFromText('LINESTRING(1 3 4, 5 6 7)'))
```

```
4.0
```
