sergey_123
Новичок
обновить уникальные данные без primary key
попался мне недавно интерестный тест
вот собственно вопрос, с которым возникли проблемы
попался мне недавно интерестный тест
вот собственно вопрос, с которым возникли проблемы
как бы вы ответили на этот вопрос?You are working with an instance of mysql server and updating data in tables without using primary key as identifier. Instead you are using a number of attributes and parameters that uniquely identify those records that you need (at least you truly believe so but you could be mistaken). You have to issue an update statement that can affect multiple records within table. What queries will you issue in order to perform your update with least possible risk for record corruption in case you are wrong. (you can use any technique within mysql, including creation of temporary tables).