SirWaldizmo
Programmer
Hello,
I have a table of two columns one is ID and the second is Year_Of_Service. IDs are duplicated in this table where there are more than one year of service.
Does anyone know of a logic in sql that can find all the IDs that have at least 5 consecutive years of Service.
Any suggestions will be appreciated.
SirWaldizmo
I have a table of two columns one is ID and the second is Year_Of_Service. IDs are duplicated in this table where there are more than one year of service.
Does anyone know of a logic in sql that can find all the IDs that have at least 5 consecutive years of Service.
Any suggestions will be appreciated.
SirWaldizmo