1
| cliente |
id | cpf | cpf_valido
2 | 1234 | 1
3 | 1234 | 1
5 | 4567 | 0
and I need to set up the table like this
| de_para |
id | id_para | cpf
2 | 3 |1234
3 | 3 |1234
5 | 5 |4567
To summarize, generate a scan for the cpfs with the pointing to the highest id if Cpf is validated if Cpf is invalid to maintain the same id
Oops, it helped a lot, it left the process fast, the way I was doing it was too slow.
– Gabriel Sarzi
Silvio, good to see you here. Stack Overflow wins with your participation.
– José Diz