SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 5) ExpressionList (children 2) Identifier CounterID Function uniq (children 1) ExpressionList (children 1) Identifier UserID TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier test.hits Function and (children 1) ExpressionList (children 2) Literal UInt64_0 Function equals (children 1) ExpressionList (children 2) Identifier CounterID Literal UInt64_1704509 ExpressionList (children 1) Identifier CounterID Set