+---------+-------------+--------------+
|table_uid|  group_uid  | product_uid  |
+---------+-------------+--------------+
|    8901 |        5206 |          184 |
|    8902 |        5206 |          523 |
|    9194 |        5485 |          184 |
|    9195 |        5485 |          523 |
|    7438 |        1885 |          184 |
|    7439 |        1885 |          184 |
+---------+-------------+--------------+
My goal here is to show any group_uids that contain the same exact set of product_uids. So group_uid 5206 and 5485 would end up displaying while 1885 would not since it does not have the same set of product_uids. I have to accomplish this through bash script as I do not have the ability to do this in MySQL 3.23.58 (yes, it's horribly old and I hate it but not my choice). I'm trying to store the table_uid, group_uid and product_uid in an array and then compare each group_uid to see if they contain the same product_uids. Help is appreciated!
 
     
     
     
    