Aselect productid from orders where count(productid)>1
Bselect productid from orders where max(productid)>1
Cselect productid from orders group by productid having count(productid)>1
Dselect productid from orders where having count(productid)>1 group by productid