select f.contentid, i.linkid, linkType, ownerid, ownerType, uploaddate, fileSize from tbl_PRD_Images i inner join tbl_FSC_Content f on i.contentid = f.contentid where i.ownerid = and i.ownerType = and f.subFolder = 'PRD' and f.filename = insert into zz_tmp_Network_Image_Cleanup(filename,ownerid,ownerType,contentid,linkid,linkType,uploaddate,filesize,imageFound) values (, , , , , , , , 'Yes' 'No' )

Complete!