How to write a complex SQL Query?
Below information is the old data of users working on different services with service status and last change date o