MYSQL/leetcode4 1251. Average Selling Price 문제 설명두 개의 테이블이 주어집니다.테이블: Prices+---------------+---------+| Column Name | Type |+---------------+---------+| product_id | int || start_date | date || end_date | date || price | int |+---------------+---------+(product_id, start_date, end_date)가 기본 키(고유값 조합)입니다.각 행은 특정 기간(start_date부터 end_date까지) 동안의 product_id 가격을 나타냅니다.각 product_id에 대해 겹치는 기간은 없습니다. 즉, 동일한.. 2025. 8. 4. Confirmation Rate 특정 조건을 만족하는 행의 개수 세기 테이블 구조Table: Signups (가입 테이블) +----------------+----------+| Column Name | Type |+----------------+----------+| user_id | int || time_stamp | datetime |+----------------+----------+user_id는 이 테이블의 고유값 컬럼입니다.각 행은 user_id를 가진 사용자의 가입 시간 정보를 포함합니다.Table: Confirmations (확인 테이블)+----------------+----------+| Column Name | Type |+----------------+----------+| user_id .. 2025. 7. 28. Students and Examinations 문제+---------------+---------+| Column Name | Type |+---------------+---------+| student_id | int || student_name | varchar |+---------------+---------+student_id is the primary key (column with unique values) for this table.Each row of this table contains the ID and the name of one student in the school. Table: Subjects+--------------+---------+| Column Name | Type |+-----------.. 2025. 7. 28. Students and Examinations 문제+---------------+---------+| Column Name | Type |+---------------+---------+| student_id | int || student_name | varchar |+---------------+---------+student_id is the primary key (column with unique values) for this table.Each row of this table contains the ID and the name of one student in the school. Table: Subjects+--------------+---------+| Column Name | Type |+-----------.. 2025. 7. 23. 이전 1 다음