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
BETWEEN operator with range, combined with another condition, without parenthesis is causing parse error. For example BETWEEN 25 AND 30 AND state_code = 'NY' doesn't work. BETWEEN (25 AND 30) AND state_code = 'NY' works.
Input data
SELECT*FROM users WHERE age BETWEEN 25AND35AND state_code ='NY'
Expected Output
SELECT*FROM
users
WHERE
age BETWEEN 25AND35AND state_code ='NY'