Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Write an SQL query to fetch worker names with salaries >= 50000 and <= 100000.

SELECT CONCAT(FIRST_NAME, ' ', LAST_NAME) As Worker_Name, Salary
FROM worker 
WHERE WORKER_ID IN 
(SELECT WORKER_ID FROM worker 
WHERE Salary BETWEEN 50000 AND 100000);
Source by www.techbeamers.com #
 
PREVIOUS NEXT
Tagged: #Write #SQL #query #fetch #worker #names #salaries
ADD COMMENT
Topic
Name
6+7 =