I have a table with information from some clients and I needed to give UPDATE however as the table has no ID and most of the data is repeated including cpf is there any way to give the where on the selected line only?
I have a table with information from some clients and I needed to give UPDATE however as the table has no ID and most of the data is repeated including cpf is there any way to give the where on the selected line only?
Placing multiple conditions in WHERE and a limit in 1 EX:
UPDATE usuarios set name = 'SEU NOME' WHERE CPF = '123' and IDADE = '13' and RG = '433' and SOBRENOME = 'SOBRENOME' LIMIT 1