data : [1, 4, 6, 8]
result : 1 * 4 * 6 * 8 = 192
SELECT exp2(arraySum(x -> log2(x), [1, 4, 6, 8]))
โโexp2(arraySum(lambda(tuple(x), log2(x)), [1, 4, 6, 8]))โโ
โ 192 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Good idea, Thanks
Most helpful comment