SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 4) ExpressionList (children 3) Function toDate (alias d1) (children 1) ExpressionList (children 1) Function toDateTime (children 1) ExpressionList (children 2) Function multiply (children 1) ExpressionList (children 2) Function multiply (children 1) ExpressionList (children 2) Identifier number Literal UInt64_10 Literal UInt64_86400 Literal \'Asia/Istanbul\' Function toDate (alias d2) (children 1) ExpressionList (children 1) Function toDateTime (children 1) ExpressionList (children 2) Function multiply (children 1) ExpressionList (children 2) Identifier number Literal UInt64_86400 Literal \'Asia/Istanbul\' Literal \'original\' (alias source) TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_10 Function equals (children 1) ExpressionList (children 2) Function modulo (children 1) ExpressionList (children 2) Identifier number Literal UInt64_3 Literal UInt64_1 ExpressionList (children 2) OrderByElement (children 1) Identifier d2 OrderByElement (children 2) Identifier d1 Literal UInt64_5