Medium🔥 | Easy Approach 2023🤝|| Explained 📝|| SQL ✅
Great things await you in the future my dear Leetcoder\n\n# Code\n\n\nSELECT\n  ROUND(COUNT(DISTINCT player_id) / (SELECT COUNT(DISTINCT player_id) FROM Activit
## *Great things await you in the future my dear Leetcoder*\n\n# Code\n```\n\nSELECT\n  ROUND(COUNT(DISTINCT player_id) / (SELECT COUNT(DISTINCT player_id) FROM Activity), 2) AS fraction\nFROM\n  Activity\nWHERE\n  (player_id, DATE_SUB(event_date, INTERVAL 1 DAY))\n  IN (\n    SELECT player_id, MIN(event_date) AS first_login FROM Activity GROUP BY player_id\n  )\n\n```\n**Ask questions if you don\'t understand**!
['MySQL']