select id, name from fileone where id in (select id from filetwo)