1988. Find Cutoff Score for Each School
Description
+-------------+------+
| Column Name | Type |
+-------------+------+
| school\_id | int |
| capacity | int |
+-------------+------+
school\_id is the primary key for this table.
This table contains information about the capacity of some schools. The capacity is the maximum number of students the school can accept.+---------------+------+
| Column Name | Type |
+---------------+------+
| score | int |
| student\_count | int |
+---------------+------+
score is the primary key for this table.
Each row in this table indicates that there are student\_count students that got at least score points in the exam.
The data in this table will be logically correct, meaning a row recording a higher score will have the same or smaller student\_count compared to a row recording a lower score. More formally, for every two rows i and j in the table, if scorei > scorej then student\_counti <= student\_countj.ac
Previous1987. Number of Unique Good SubsequencesNext1989. Maximum Number of People That Can Be Caught in Tag
Last updated