E
E
eskanderdon2020-04-28 12:21:32
MySQL
eskanderdon, 2020-04-28 12:21:32

How to update records in a MySQL table with (non-)unique fields?

There is a table with columns `id`, `name`, `data`.
The field `id`is a unique key, autoincrement.
It is necessary to update the field `data` of those records of the table, of which the field (for example) `name` is unique and does not repeat anymore in this column.

How to do it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question