I have a query that calculates the years of employment for employees based on their start date.
From the years of employment, I would like to create a query that will automatically determine their vacation time.
Year 0 - Vac 0
Year 1 - Vac 80
Year 2-3 - Vac 96
Year 4-10 - Vac 144
Year 11-15 - Vac 168
Year 16+ - Vac 192
I am not sure how to write this query. Any help would greatly be appreciated.
Thanks!
From the years of employment, I would like to create a query that will automatically determine their vacation time.
Year 0 - Vac 0
Year 1 - Vac 80
Year 2-3 - Vac 96
Year 4-10 - Vac 144
Year 11-15 - Vac 168
Year 16+ - Vac 192
I am not sure how to write this query. Any help would greatly be appreciated.
Thanks!