Skip to content

Returns any arbitrary value from a group of rows.

func.any_value(get_column(table, 'department'))
func.any_value(get_column(table, 'department'))
┌───────┐
│ Sales │
└───────┘
ANY_VALUE(<department>)
SELECT ANY_VALUE(department) FROM employees;
┌───────┐
│ Sales │
└───────┘