Write a solution to find the IDs of the users who visited without making any transactions and the number of times they made these types of visits.
Return the result table sorted in any order.
The result format is in the following example.
SELECT customer_id, COUNT(visit_id) as count_no_trans
FROM Visits
WHERE visit_id NOT IN (
SELECT DISTINCT(visit_id) FROM Transactions
)
GROUP BY 1