Question: Write a SQL query to display the last name and hire date of all employees who were hired before the employee with ID 1 0

Write a SQL query to display the last name and hire date of all employees who were hired before the employee with ID 101 got hired but after July 2016. Sort the result by the hire date and then employee ID.This query returns 9 rows as following.LAST_NAME HIRE_DATE--------------------------- Cruz 16-08-01 Barnes16-08-10 Black 16-08-13 Gray 16-08-16 Peterson16-08-17 Hudson16-08-17 Flores 16-08-20 Reynolds16-08-20 Gonzales16-08-26

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!