Help! Why is my solution wrong? Did I misunderstand the problem?
From my understanding, this question is the same as this game analysis 1\nso I wrote similar code as below\n\n# select product_id, min(year), quantity, price  f
From my understanding, this question is the same as this [game analysis 1](https://leetcode.com/problems/game-play-analysis-i/)\nso I wrote similar code as below\n```\n# select product_id, min(year), quantity, price  from Sales  \n# group by product_id\n```\n\nwhich does not pass, I saw people wrote below that passed \n\n```\nSELECT product_id, year as first_year, quantity, price\nfrom Sales \nWHERE (product_id, year) IN (SELECT product_id, min(year) as year\nFROM Sales \ngroup by product_id)\n\n```\n\nAm I misunderstanding the problem?\n
[]