Du vil have insert . . . select
:
insert into metadata_values(elem_id,value, resource_type, resource_id, foreign_id,
mtvr_id, mett_id
)
select 62, 'test', 4, insert_table.resource_id, insert_table.file_repos_id, 80, 4
from insert_table;