SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 3)
   ExpressionList (children 1)
    Asterisk
   TablesInSelectQuery (children 3)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier tab
    TablesInSelectQueryElement (children 2)
     TableExpression (children 1)
      TableIdentifier mem4 (alias t1)
     TableJoin (children 1)
      Function and (children 1)
       ExpressionList (children 2)
        Function equals (children 1)
         ExpressionList (children 2)
          Identifier tab.k1
          Identifier t1.k1
        Function equals (children 1)
         ExpressionList (children 2)
          Identifier tab.k2
          Identifier t1.k2
    TablesInSelectQueryElement (children 2)
     TableExpression (children 1)
      TableIdentifier mem4 (alias t2)
     TableJoin (children 1)
      Function and (children 1)
       ExpressionList (children 2)
        Function equals (children 1)
         ExpressionList (children 2)
          Identifier tab.k1
          Identifier t2.k1
        Function equals (children 1)
         ExpressionList (children 2)
          Identifier tab.k2
          Identifier t2.k2
   ExpressionList (children 1)
    OrderByElement (children 1)
     Identifier tab.v
