1934. Confirmation Rate ¶ SQL 1 2 3 4 5 6 7SELECT Signups.user_id, IFNULL(ROUND(AVG(Confirmations.action = 'confirmed'), 2), 0) AS confirmation_rate FROM Signups LEFT JOIN Confirmations USING (user_id) GROUP BY 1;