We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be51a50 commit 140e527Copy full SHA for 140e527
2087-confirmation-rate/confirmation-rate.sql
@@ -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