As Simi has said, need some more detail but shooting from the hip and assuming that the first appointment always exists .....
select
ap1.staff,
ap1.appointment1,
ap1.date1,
ap1.successful1,
ap2.appointment2,
ap2.date2,
ap2.successful2,
ap3.appointment3,
ap3.date3,
ap3.successful3...