ANYVALUE
This section contains reference documentation for the ANYVALUE function.
Last updated
Was this helpful?
This section contains reference documentation for the ANYVALUE function.
Returns any arbitrary non-null value from the column for each group. Useful in GROUP BY queries for including columns that have a one-to-one mapping with the GROUP BY columns without adding them to the GROUP BY clause.
ANYVALUE(colName)
These examples are based on the Batch Quick Start.
select league, ANYVALUE(playerName) AS samplePlayer
from baseballStats
GROUP BY leagueAA
David Orr
NL
Fred Pfeffer
Last updated
Was this helpful?
Was this helpful?

