> ## 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_XMin

Returns the minimum X coordinate of a geometry

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

## Signatures

```sql theme={"system"}
ST_XMin (A: Geometry)
```

## Parameters

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

## Return type

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

## Example

```sql theme={"system"}
SELECT ST_XMin(ST_GeomFromText('POLYGON ((-1 -11, 0 10, 1 11, 2 12, -1 -11))'))
```

```
-1
```
