Database: hr_1
Question: display all the information of employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40.
SQL: select * from employees where salary between 8000 and 12000 and commission_pct != "null" or  department_id != 40