79402468

Date: 2025-01-31 10:42:49
Score: 1
Natty:
Report link

Here is a statement for the question:

SELECT t1.customer_id, COUNT(t2.customer_id) AS occurrences FROM table1 t1 LEFT JOIN table2 t2 ON t1.customer_id = t2.customer_id GROUP BY t1.customer_id;

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Neena