Als table_2 leeg is, probeer dan de volgende insert-instructie:
insert into table_2 (itemid,location1)
select itemid,quantity from table_1 where locationid=1
Als table_2 bevat al de itemid waarden, probeer dan deze update-instructie:
update table_2 set location1=
(select quantity from table_1 where locationid=1 and table_1.itemid = table_2.itemid)