-
Notifications
You must be signed in to change notification settings - Fork 4
LeetCode SQL 50 #37
-
In that i have run time error tell me what is problem
Beta Was this translation helpful? Give feedback.
All reactions
Thank you for your discussion and interest in contributing! This issue is marked as "Good First Issue," making it a great starting point for new contributors. We appreciate your help and look forward to your pull request. If you have any questions or need clarification, feel free to ask. Happy coding!
Replies: 2 comments 1 reply
-
Thank you for your discussion and interest in contributing! This issue is marked as "Good First Issue," making it a great starting point for new contributors. We appreciate your help and look forward to your pull request. If you have any questions or need clarification, feel free to ask. Happy coding!
Beta Was this translation helpful? Give feedback.
All reactions
-
THANK YOU
Beta Was this translation helpful? Give feedback.
All reactions
-
# Write your MySQL query statement below
SELECT a.person_name
FROM
Queue AS a,
Queue AS b
WHERE a.turn >= b.turn
GROUP BY a.person_id
HAVING SUM(b.weight) <= 1000
ORDER BY a.turn DESC
LIMIT 1;
Beta Was this translation helpful? Give feedback.