s
    FROM ndbinfo.ndb$frag_operations AS ops
    JOIN ndbinfo.ndb$dict_obj_info AS name
      ON name.id=ops.table_id AND name.type<=6
    JOIN ndbinfo.ndb$dict_obj_types AS types ON name.type=types.type_id
    LEFT JOIN ndbinfo.ndb$dict_obj_info AS parent_name
      ON name.parent_obj_id=parent_name.id AND
         name.parent_obj_type=parent_name.type';
