SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 5) ExpressionList (children 2) Function toStartOfDay (alias d64) (children 1) ExpressionList (children 1) Identifier d64 Function count (children 1) ExpressionList TablesInSelectQuery (children 1) TablesInSelectQueryElement (children 1) TableExpression (children 1) TableIdentifier with_fill_date ExpressionList (children 1) Identifier d64 ExpressionList (children 1) OrderByElement (children 2) Identifier d64 Function toIntervalDay (children 1) ExpressionList (children 1) Literal UInt64_10 Literal UInt64_5