0
In a column REGISTER I have two lines repeated in all aspects:
NOME ID EMAIL SEXO
JOAO 1234 [email protected] M
JOAO 1234 [email protected] M
How to compare these two rows, check if all columns are identical and delete one of them in order to result:
NOME ID EMAIL SEXO
JOAO 1234 [email protected] M
You have no unique identifier for your table?
– George Wurthmann
If for George’s question (above) it is no, can you change the table structure? I don’t know about Oracle, but in SQL Server there is no way to remove just one of them - you need a unique identifier for each record.
– Ismael
I am voting to close this question as out of scope because it is unclear whether AP intends to do this in a Select or there is duplicate data that it wants to delete.
– Jéf Bueno