Skip to content

Commit 5e7c92f

Browse files
mneedhamBlargian
andauthored
Update docs/guides/developer/dynamic-column-selection.md
Co-authored-by: Shaun Struwig <[email protected]>
1 parent 4358583 commit 5e7c92f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/developer/dynamic-column-selection.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ FROM nyc_taxi.trips;
137137
```
138138

139139

140-
But that rounds the averages to whole numbers. If we want to round to, say, 2 decimal places, we can do that as well. As well as taking in functions, the APPLY function takes in a lambda, which gives us the flexibility to have the round function round our average values to 2 decimal places:
140+
But that rounds the averages to whole numbers. If we want to round to, say, 2 decimal places, we can do that as well. As well as taking in functions, the `APPLY` modifier accepts a lambda, which gives us the flexibility to have the round function round our average values to 2 decimal places:
141141

142142
```sql
143143
SELECT COLUMNS('.*_amount|fee|tax') APPLY(avg) APPLY(x -> round(x, 2))

0 commit comments

Comments
 (0)