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.
7 lines
299 B
MySQL
7 lines
299 B
MySQL
5 years ago
|
/*20. Write a query in SQL to display the details of jobs which was done by any of the employees who is presently earning a
|
||
|
salary on and above 12000.*/
|
||
|
SELECT a.*
|
||
|
FROM job_history a
|
||
|
JOIN employees m
|
||
|
ON (a.employee_id = m.employee_id)
|
||
|
WHERE salary >= 12000;
|