The situation is the following, there is a record in the table:
id user_id field_id value 1 16 6 test 2 16 6 test2 3 16 7 test3 4 16 6 test
It is necessary in one query to remove from this table the rows where there is at least 1 copy of "user_id + field_id".
Those. two or more lines cannot exist where the "user_id" and "field_id" fields match.
As a result, the lines with id 1 and 4 should be deleted.
For early thanks for the help.