InsertQuery (children 4) Identifier tvs ExpressionList (children 3) Identifier k Identifier t Identifier tv SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 3) ExpressionList (children 3) Identifier k Identifier t Identifier t TablesInSelectQuery (children 2) TablesInSelectQueryElement (children 1) TableExpression (children 1) Subquery (alias keys) (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 1) Function toUInt32 (alias k) (children 1) ExpressionList (children 1) Identifier number TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_1000 TablesInSelectQueryElement (children 2) TableExpression (children 1) Subquery (alias tv_times) (children 1) SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 1) Function toUInt32 (alias t) (children 1) ExpressionList (children 1) Function multiply (children 1) ExpressionList (children 2) Identifier number Literal UInt64_3 TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_10000 TableJoin Set Set