SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 4) ExpressionList (children 2) Function modulo (children 1) ExpressionList (children 2) Identifier id Literal UInt64_7 Function sum (children 1) ExpressionList (children 1) Identifier u TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier t_sparse ExpressionList (children 1) Function modulo (children 1) ExpressionList (children 2) Identifier id Literal UInt64_7 ExpressionList (children 1) OrderByElement (children 1) Function modulo (children 1) ExpressionList (children 2) Identifier id Literal UInt64_7