SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 6) ExpressionList (children 5) Literal \'Pacific/Apia\' Function rand (alias r) (children 1) ExpressionList Function toHour (alias h) (children 1) ExpressionList (children 1) Function toDateTime (alias t) (children 1) ExpressionList (children 2) Identifier r Literal \'Pacific/Apia\' Identifier t Function toTypeName (children 1) ExpressionList (children 1) Identifier t TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) Function numbers (children 1) ExpressionList (children 1) Literal UInt64_1000000 Function or (children 1) ExpressionList (children 2) Function less (children 1) ExpressionList (children 2) Identifier h Literal UInt64_0 Function greater (children 1) ExpressionList (children 2) Identifier h Literal UInt64_23 ExpressionList (children 1) OrderByElement (children 1) Identifier h Literal UInt64_1 ExpressionList (children 1) Identifier h