You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
/*Write a query in SQL to display the detail information of those departments which starting salary is at least 8000.
|
|
|
|
*/
|
|
SELECT * FROM departments
|
|
WHERE department_id IN
|
|
( SELECT department_id
|
|
FROM employees
|
|
GROUP BY department_id
|
|
HAVING MIN(salary)>=8000); |