Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEA@ahmedirfanp, I see the duplicates that you identified, but then on the next join, you put them right back in again. So I'm not sure that your unique steps were actually deduping anything.
And the duplicates were required for the answer to work out to the posted solution, so maybe it's flawed in the setup, not the execution.
@ahmedirfanp, that was the point that I was trying to make (but apparently didn't make it very well). In order for the answer you get to match the output in the challenge, the duplicate IDs have to be kept in. The output in the challenge that we are trying to match to has 2000 rows. Yours only has 1995. I think the intent is that the duplicate rows stay in.
But nice work on your solution regardless.
@tammybrown_tds Thank You! Tammy