Task: Text to Code
Input (English): SQL: SELECT * FROM jobs AS T1 JOIN employees AS T2 ON T1.JOB_ID = T2.JOB_ID WHERE T2.SALARY > 8000 OR T1.MAX_SALARY < 12000
Feedback: Replace max salary with salary , ör"with änd " , which commission pct not null or department id not 40.
Output (English): SELECT * FROM employees WHERE salary BETWEEN 8000 AND 12000 AND commission_pct != "null" OR  department_id != 40