SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 3)
   ExpressionList (children 1)
    Function count (children 1)
     ExpressionList (children 1)
      Asterisk
   TablesInSelectQuery (children 2)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier t5 (alias ref_2)
    TablesInSelectQueryElement (children 2)
     TableExpression (children 1)
      Subquery (alias subq_1) (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 2)
          ExpressionList (children 1)
           Identifier ref_3.c_2_c48_2 (alias c_6_c185_6)
          TablesInSelectQuery (children 1)
           TablesInSelectQueryElement (children 1)
            TableExpression (children 1)
             TableIdentifier t4 (alias ref_3)
     TableJoin (children 1)
      Function equals (children 1)
       ExpressionList (children 2)
        Identifier ref_2.c52
        Identifier subq_1.c_6_c185_6
   Function lessOrEquals (children 1)
    ExpressionList (children 2)
     Function intExp2 (children 1)
      ExpressionList (children 1)
       Identifier ref_2.pkey
     Function hiveHash (children 1)
      ExpressionList (children 1)
       Identifier ref_2.c56
