LeetCode-SQL-550. 遊戲玩法分析 IV

SELECT ROUND(COUNT(DISTINCT a1.player_id) / (SELECT COUNT(DISTINCT player_id) FROM Activity), 2) AS fraction FROM Activity AS a1, Activity AS a2 WHERE a1.player_id = a2.player_id AND DATEDIFF(a1.e
相關文章
相關標籤/搜索