SELECT
customer_id,
product_id, COUNT(*)
FROM cust_table GROUP BY
customer_id,
product_id HAVING (COUNT(*) > 1)
Conservative. Idaho. Software engineer. Historian. Increasingly, frustrated with how the greed of a small number of lawyers is making life unreasonable for ordinary people.
No comments:
Post a Comment