Skip to content

Commit

Permalink
Update 1070. Product Sales Analysis III.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohsem35 committed Jul 16, 2024
1 parent ed6f043 commit c8e32e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 1070. Product Sales Analysis III.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ Output:


```sql
select product_id, year first_year, quantity, price
select product_id, year as first_year, quantity, price
from Sales
where (product_id, year) in (select product_id, min(year)
from Sales group by 1);
```
```

0 comments on commit c8e32e7

Please sign in to comment.