Created
November 2, 2020 11:18
-
-
Save rakibdevs/500def2c25f9cf017b190546c7102c03 to your computer and use it in GitHub Desktop.
Check duplicate entry sql in holiday roaster and leave table
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * FROM holiday_roaster where as_id in (select leave_ass_id from hr_leave where leave_from <= '2020-10-30' and leave_to >= '2020-10-30') and date = '2020-10-30' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment