You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
select top(1) person_name from (select person_name, sum(weight) over (order by turn) as total from queue ) as t where total <= 1000 order by total desc;