1
table
hits_10m_single
hits_100m_single
SELECT avg(length(URL)) as x from hits_100m_single GROUP BY CounterID FORMAT Null
SELECT avg(length(URL)) as x from {table} GROUP BY CounterID, EventDate FORMAT Null
SELECT avg(length(URL)) as x from hits_10m_single GROUP BY CounterID, EventDate, intHash32(UserID) FORMAT Null