We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Mine is almost identical to yours :) Although it took me a while to realize in the second CTE I need to COUNT(DISTINCT hacker_id).
My recursive CTE is slightly different:
15 Days of Learning SQL
You are viewing a single comment's thread. Return to all comments →
Mine is almost identical to yours :) Although it took me a while to realize in the second CTE I need to COUNT(DISTINCT hacker_id). My recursive CTE is slightly different: