Database: hr_1
Question: display the emails of the employees who have salary within the range 7000 to 12000 and works in that department which number is 50.
SQL: select email from employees where salary between 7000 and 12000 and department_id = 50