Table schema:
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, department_id VARCHAR, salary INTEGER)

Question: Find the first name and last name and department id for those employees who earn such amount of salary which is the smallest salary of any of the departments.
SQL: SELECT first_name, last_name, department_id FROM employees WHERE salary IN (SELECT MIN(salary) FROM employees GROUP BY department_id)