haoel / leetcode

LeetCode Problems' Solutions
17.58k stars 4.91k forks source link

Runtime Error #291

Closed mutasim77 closed 1 year ago

mutasim77 commented 1 year ago

I'm trying to solve this SQL problem from a repo, and I've encountered this error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(COUNT(CASE WHEN t.`Status` = 'cancelled_by_driver' OR t.`Status` = 'cancelled_b' at line 2

Can anyone help?

mutasim77 commented 1 year ago

Oh, nvm, I've solved )