select t1.user_id, t1.product_id from ( select user_id, product_id, count(distinct online_sale_id) as cnt from online_sale group by 1, 2 having count(distinct online_sale_id) > 1 ) t1 order by 1, 2 desc