SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 4)
   ExpressionList (children 3)
    Function toStartOfMonth (alias d) (children 1)
     ExpressionList (children 1)
      Identifier d
    Identifier id
    Function count (children 1)
     ExpressionList
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier with_fill_date
   ExpressionList (children 2)
    Identifier d
    Identifier id
   ExpressionList (children 2)
    OrderByElement (children 4)
     Identifier d
     Function toDate (children 1)
      ExpressionList (children 1)
       Literal \'2020-01-01\'
     Function toDate (children 1)
      ExpressionList (children 1)
       Literal \'2020-05-01\'
     Function toIntervalMonth (children 1)
      ExpressionList (children 1)
       Literal UInt64_1
    OrderByElement (children 3)
     Identifier id
     Literal UInt64_1
     Literal UInt64_5
