I am using a query that works on my local developement server.
UPDATE file
SET file_original_title= (SELECT file_original_title
FROM file
WHERE id_file = ?),
file_file= (SELECT file_file
FROM file
WHERE id_file = ?)
WHERE id_file = ?
Which copies the title and file from an existing row to a new row. However I am getting the following error:
#1093 - Table 'file' is specified twice, both as a target for 'UPDATE' and as a separate source for data