Skip to content

Commit 140e527

Browse files
committed
Time: 589 ms (70.52%) | Memory: 0B (100.00%) - LeetSync
1 parent be51a50 commit 140e527

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Write your MySQL query statement below
2+
select s.user_id, round(avg(if(c.action="confirmed",1,0)),2) as confirmation_rate
3+
from Signups as s left join Confirmations as c on s.user_id= c.user_id
4+
group by user_id;
5+

0 commit comments

Comments
 (0)