I have a table looks like belowID assessmnet_dt employment_cd reason_cd1 01/01/07 1 51 03/11/07 3 92 11/01/07 11 12 12/05/07 3 73 07/22/06 4 1
And I am trying to transfrer row to column ( T1 and T2) based on the ID and assessment_dt.. If there is only one record with one assessment_Dt , put the same information for t1 and T2ID T1_assessmnet_dt T1_employment_cd T1_reason_cd T2_assessmnet_dt T2_employment_cd T2_reason_cd1 01/01/07 1 5 03/11/07 3 92 11/01/07 11 1 12/05/07 3 73 07/22/06 4 1 07/22/06 4 1
is there any new SQL syntax in 2005 that i can use to accomplish this?