Se
table_2 estiver vazio, tente a seguinte instrução de inserção:insert into table_2 (itemid,location1)
select itemid,quantity from table_1 where locationid=1
Se
table_2 já contém o itemid valores, tente esta instrução de atualização:update table_2 set location1=
(select quantity from table_1 where locationid=1 and table_1.itemid = table_2.itemid)