# regr_r2()

Returns the R-squared, or goodness-of-fit value for a regression.

`regr_r2()` follows this syntax.

```nolang
SELECT regr_r2(FIELD1, FIELD2)
FROM DATASET;
```
