Skip to content

Commit

Permalink
Time: 1542 ms (87.33%) | Memory: 0B (100.00%) - LeetSync
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimple-01 committed Jun 14, 2024
1 parent b96583e commit 51d2ff2
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Write your MySQL query statement below
select customer_id,count(customer_id) as count_no_trans
from Visits as v
left join Transactions as t
on v.visit_id = t.visit_id
where t.transaction_id is null
group by customer_id;

0 comments on commit 51d2ff2

Please sign in to comment.