SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 2) ExpressionList (children 5) Function plus (alias d) (children 1) ExpressionList (children 2) Function toDate (children 1) ExpressionList (children 1) Literal \'2016-12-21\' Identifier number Function toWeek (alias week8) (children 1) ExpressionList (children 2) Identifier d Literal UInt64_8 Function toWeek (alias week9) (children 1) ExpressionList (children 2) Identifier d Literal UInt64_9 Function toYearWeek (alias yearWeek8) (children 1) ExpressionList (children 2) Identifier d Literal UInt64_8 Function toYearWeek (alias yearWeek9) (children 1) ExpressionList (children 2) Identifier d Literal UInt64_9 TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_21