Closed acbin closed 1 year ago
Hi, I use the plugin to format the following sql, but it shows Syntax Error: Unexpected "if"
Syntax Error: Unexpected "if"
# Write your MySQL query statement below select employee_id, if(employee_id %2=1 and left(name, 1) != 'M', salary, 0) bonus from Employees order by 1
There's a simple reason for this: MySQL is not supported.
Hi, I use the plugin to format the following sql, but it shows
Syntax Error: Unexpected "if"