I have a SELECT:
select client.id,service.id
from cliente,service
where cliente.id= service.id_cliente
RESULT
cliente.id service.id
1 10
1 20
2 5
2 1
2 35
3 6
How can I get this RESULT:
cliente.id service.id1 service.id2 service.id3
1 10 20
2 5 1 35
3 6
I dont know the maximum number of ServiceID's I can have per ClientID.
Its dynamic.