SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 3)
   ExpressionList (children 2)
    Identifier APPLICATION.Name (alias App)
    Function CAST (alias date) (children 1)
     ExpressionList (children 2)
      Function CAST (children 1)
       ExpressionList (children 2)
        Identifier DATABASE_IO.Date
        Literal \'DATE\'
      Literal \'DATE\'
   TablesInSelectQuery (children 2)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier DATABASE_IO
    TablesInSelectQueryElement (children 2)
     TableExpression (children 1)
      TableIdentifier APPLICATION
     TableJoin (children 1)
      Function equals (children 1)
       ExpressionList (children 2)
        Identifier DATABASE_IO.Base
        Identifier APPLICATION.Base
   Function greaterOrEquals (children 1)
    ExpressionList (children 2)
     Function CAST (children 1)
      ExpressionList (children 2)
       Function CAST (children 1)
        ExpressionList (children 2)
         Identifier DATABASE_IO.Date
         Literal \'DATE\'
       Literal \'TIMESTAMP\'
     Function toDateTime (children 1)
      ExpressionList (children 1)
       Literal \'2020-01-01 00:00:00\'
