Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ans to the questions The employee ID, employee name and the total number of leaves taken individually by each employee, if they have taken any

image text in transcribed

ans to the questions

The employee ID, employee name and the total number of leaves taken individually by each employee, if they have taken any leave (use Total_Leaves as alias). Hint: For example, if an employee with emplayee code 'E001' has taken leaves for 2 days in January and for 3 days in February, then the total number of leaves will be 5 days. Similarly, display the total number of leaves taken individually by each employee in case they have taken any leave. The information on leaves is stored in the "EMP_LEAVE_INFO" table. The employee ID, employee name and the total number of leaves taken individually by each employee, if they have taken any leave (use Total_Leaves as alias). Hint: For example, if an employee with emplayee code 'E001' has taken leaves for 2 days in January and for 3 days in February, then the total number of leaves will be 5 days. Similarly, display the total number of leaves taken individually by each employee in case they have taken any leave. The information on leaves is stored in the "EMP_LEAVE_INFO" table

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro PowerShell For Database Developers

Authors: Bryan P Cafferky

1st Edition

1484205413, 9781484205419

More Books

Students also viewed these Databases questions