✔✔✔easy solution - SUBQUERY, WHERE, MIN⚡⚡⚡MySQL | MS SQL Server | PostgreSQL
Code\n\nSELECT s.product_id, s.year AS first_year, s.quantity, s.price\nFROM Sales AS s\nWHERE s.year IN (\n    SELECT MIN(year)\n    FROM Sales AS s1\n    WHER
# Code\n```\nSELECT s.product_id, s.year AS first_year, s.quantity, s.price\nFROM Sales AS s\nWHERE s.year IN (\n    SELECT MIN(year)\n    FROM Sales AS s1\n    WHERE s.product_id = s1.product_id\n)\n```
['Database', 'MySQL', 'MS SQL Server', 'PostgreSQL']