Hi !
I'm sorry if it has already been asked, I can't put the right keyword to search on how to acocmplish this.
I can't figure out how to accomplish the following : "Sort all the results by StartDate, as soon as out hit the first date, takes the EmployeeFullName and put every other record sorted by StartDate ascending"
The following table
EmployeefullName StartDate Subject
Emp1 2017-01-01 Appointment of 2017-01-01
Emp2 2017-01-03 Appointment of 2017-01-03
Emp3 2017-01-04 Appointment of 2017-01-04
Emp2 2017-01-04 Appointment of 2017-01-04
Emp2 2017-01-05 Appointment of 2017-01-05
Emp3 2017-01-06 Appointment of 2017-01-06
Emp3 2017-01-07 Appointment of 2017-01-07
Emp3 2017-01-09 Appointment of 2017-01-09
Emp1 2017-01-10 Appointment of 2017-01-10
Emp1 2017-01-15 Appointment of 2017-01-15
Should be output as (add LF/CR for clarity)
EmployeefullName StartDate Subject
Emp1 2017-01-01 Appointment of 2017-01-01
Emp1 2017-01-10 Appointment of 2017-01-10
Emp1 2017-01-15 Appointment of 2017-01-15
Emp2 2017-01-03 Appointment of 2017-01-03
Emp2 2017-01-04 Appointment of 2017-01-04
Emp2 2017-01-05 Appointment of 2017-01-05
Emp3 2017-01-04 Appointment of 2017-01-04
Emp3 2017-01-06 Appointment of 2017-01-06
Emp3 2017-01-07 Appointment of 2017-01-07
Emp3 2017-01-09 Appointment of 2017-01-09