Context: CREATE TABLE products_booked (product_id VARCHAR)
Question: What is the id of the product that is booked for 3 times?
Answer: SELECT product_id FROM products_booked GROUP BY product_id HAVING COUNT(*) = 3