populating (insert into...) a table with determined record from another table.