SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 4) ExpressionList (children 1) Function sum (children 1) ExpressionList (children 1) Identifier id TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier t_sparse_full ExpressionList (children 1) Function modulo (alias k) (children 1) ExpressionList (children 2) Identifier u Literal UInt64_3 ExpressionList (children 1) OrderByElement (children 1) Identifier k