LeetCode 1204: Last Person to Fit in the Elevator/Bus [SQL]