Database: department_store
Question: Return the ids of all products that were ordered more than three times or supplied more than 80000 in sum.
SQL: select product_id from order_items group by product_id having count(*)  >  3 union select product_id from product_suppliers group by product_id having sum(total_amount_purchased)  >  80000