I am confused about how to copy a column from one table to another table using where. I wrote SQL query but it says transaction lock time exceeded or query returns more than one
There are two options here:
BuildID
update your subquery to only return one result
UPDATE results SET results.platform_to_insert = ( SELECT correct_platform FROM build WHERE results.BuildID=build.BuildID LIMIT 1 );