SELECT count(*) ,  T3.product_id FROM orders AS T1 JOIN order_items AS T2 JOIN products AS T3 ON T1.order_id = T2.order_id AND T2.product_id = T3.product_id GROUP BY T3.product_id
List the count and id of each product in all the orders.
SELECT count ( * ) , T3.product_id FROM orders AS T1 JOIN order_items AS T2 JOIN products AS T3 ON T1.order_id = T2.order_id AND T2.product_id = T3.product_id GROUP BY T3.product_id
select count ( * ) , t3 . product_id from orders as t1 join order_items as t2 join products as t3 on t1 . order_id = t2 . order_id and t2 . product_id = t3 . product_id group by t3 . product_id
List the count and id of each product in all the orders .