Skip to content

Commit f6f1e64

Browse files
authored
Update last-person-to-fit-in-the-elevator.sql
1 parent 73e84b5 commit f6f1e64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MySQL/last-person-to-fit-in-the-elevator.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SELECT person_name
55
FROM (SELECT person_name,
66
@accu := @accu + weight AS accu
77
FROM (SELECT person_name, weight
8-
FROM queue
8+
FROM Queue
99
ORDER BY turn) q,
1010
(SELECT @accu := 0) vars) t
1111
WHERE accu <= 1000

0 commit comments

Comments
 (0)