Question d’entretien chez Happiest Minds Technologies

HOW CAN I WRITE SQL STATEMENT FOR NO. OF DAYS THE EMPLOYEE AS TAKEN LEAVE?

Réponse à la question d'entretien

Utilisateur anonyme

31 mars 2024

I went one step deeper and explained that there might be different leaves such as casual, sick, optiona, earned etc. And based on the leave availability and no of leaves takes, I would do a simple calculation by summing total leave and subtracting it from number of working days or total days attended by employee from the total working days (being a better method for orgrnization)