Skip to content
Advertisement

How to delete a record from database where all fields are the same to another?

I have two only records in a database table and I want to delete only one of them. The problem is that I don’t have any primary key nor unique identifier, so how could I delete one and only one record?

It seems a easy question but I didn’t find out how to do it ¿?.

Advertisement

Answer

This addresses the title, which implies potentially more than 2 rows in the table:

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement