Question: write SQL query for following question. The HR team at wish2hire.com has taken some measures over the last year towards employee wellness such as logging

The HR team at wish2hire.com has taken some measures over the last year towards employee wellness such as logging of work hours, enabling the employees with a WFH setup and so on. In order to analyse if any employee is overworked, write a SQL to filter the employees meeting the following criteria: 1. Current week's assigned work hours & last week's logged hours is more tha 2hrs of their assigned capacity 2. Employee is not enrolled into any learning and development course resc_alloc Columns Data Type Employeeld INT WFH_Setup VARCHAR Gender VARCHAR Designation INT Weekly_Resource_Capacity INT Assigned_Work_Hours INT Last_Week_Work_Hours INT Learning_New_Thing VARCHAR
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
