SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 4)
   ExpressionList (children 4)
    Function toDate (alias dt) (children 1)
     ExpressionList (children 2)
      Identifier time
      Literal \'UTC\'
    Function min (children 1)
     ExpressionList (children 1)
      Function toDateTime (children 1)
       ExpressionList (children 2)
        Identifier time
        Literal \'UTC\'
    Function max (children 1)
     ExpressionList (children 1)
      Function toDateTime (children 1)
       ExpressionList (children 2)
        Identifier time
        Literal \'UTC\'
    Function sum (children 1)
     ExpressionList (children 1)
      Identifier count
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier bad_date_time
   Function equals (children 1)
    ExpressionList (children 2)
     Function toDate (children 1)
      ExpressionList (children 2)
       Identifier time
       Literal \'UTC\'
     Literal \'2020-12-19\'
   ExpressionList (children 1)
    Identifier dt
