Answer to Question #262767 in Databases | SQL | Oracle | MS Access for SUNNY

Question #262767

create a table and paste the screenshots of the execution done of the given questions:


Write q query to find all the employees whose salary is between 50000 to 100000.


Write a query to find the names of employees that begin with S.


Write a query to retrieve the EmpFname and EmpLname in a single column as FullName. The first name and the last name must be separated with space.


Write a query to fetch all employees who also hold the managerial position using inner join.


Write a query to fetch the department-wise count of employees sorted by departments count in ascending order.

1
Expert's answer
2021-11-08T17:37:01-0500
SELECT * FROM EmployeePosition WHERE Salary BETWEEN '50000' AND '100000';

Select * from Worker where EmpFname like 'S%';

SELECT CONCAT(EmpFname , ' ', EmpLname ) As FullName FROM worker;

SELECT DISTINCT W.FIRST_NAME, T.WORKER_TITLE
FROM Worker W
INNER JOIN Title T
ON W.WORKER_ID = T.WORKER_REF_ID
AND T.WORKER_TITLE in ('Manager');

Select * from Worker order by DEPARTMENT ASC;

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS