- cutomer_id,와 transaction이 없이 방문한 횟수를 구하라
SELECT v.customer_id ,COUNT(*) AS count_no_trans FROM Visits AS v LEFT JOIN Transactions AS t ON v.visit_id=t.visit_id WHERE t.visit_id IS NULL GROUP BY v.customer_id