Database 1581. Customer Who Visited but Did Not Make Any Transactions ¶ SQL 1 2 3 4 5 6 7 8SELECT Visits.customer_id, COUNT(Visits.visit_id) AS count_no_trans FROM Visits LEFT JOIN Transactions USING (visit_id) WHERE Transactions.transaction_id IS NULL GROUP BY 1; Was this page helpful? Thanks for your feedback! Thanks for your feedback! Help us improve this page by using our feedback form.