SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 3)
   ExpressionList (children 2)
    Identifier t1.id
    Identifier t2.id
   TablesInSelectQuery (children 2)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier test_table_1 (alias t1)
    TablesInSelectQueryElement (children 2)
     TableExpression (children 1)
      TableIdentifier test_table_2 (alias t2)
     TableJoin (children 1)
      Function equals (children 1)
       ExpressionList (children 2)
        Identifier t1.id
        Identifier t2.id
   Function and (children 1)
    ExpressionList (children 2)
     Function notEquals (children 1)
      ExpressionList (children 2)
       Function acos (children 1)
        ExpressionList (children 1)
         Identifier t2.id
       Function atan (children 1)
        ExpressionList (children 1)
         Identifier t1.id
     Function not (children 1)
      ExpressionList (children 1)
       Function notEquals (children 1)
        ExpressionList (children 2)
         Function acos (children 1)
          ExpressionList (children 1)
           Identifier t2.id
         Function atan (children 1)
          ExpressionList (children 1)
           Identifier t1.id
