
SQL | LeetCode 1251. 날짜 범위 매핑으로 평균 판매가 구하기
·
Computer Science/SQL
Table: Prices+---------------+---------+| Column Name | Type |+---------------+---------+| product_id | int || start_date | date || end_date | date || price | int |+---------------+---------+(product_id, start_date, end_date) is the primary key (combination of columns with unique values) for this table.Each row of this table indicates the price of the produc..