I have a table where I keep track of nutritional evaluations of people, each person can have between 1 to 6 evaluations and all are stored in that table, what I want to do is that moment to download this information bring me the data of the person 1 time but the result of each visit is the one that is added for example
nombre|apellido|telefono|fecha_evaluacion|resultado_evaluacion
pedro |perez |5558877 | 05/05/2017 | desnutricion
pedro |perez |5558877 | 05/07/2017 | adecuado
and I need you to return it to me in the following way
nombre|apellido|telefono|fecha_evaluacion1|resultado_evaluacion1|fecha_evaluacion2 | resultado_evaluacion2
pedro | perez |5558877 | 05/05/2017 | desnutricion | 05/07/2017 | Adecuado
Each person can have up to 6 evaluations and I am only interested in repeating the date of each evaluation and its diagnosis.