What is the id of the product that is booked for 3 times?
create table products_booked (product_id varchar, PRIMARY KEY (product_id))
select product_id from products_booked group by product_id having count(*) = 3