so you see this took a couple of minutes to do. If you dont provide sample data like this, since we are all busy people then we might ignore your question bcs it will take from our busy time doing the following for you
create table #movies(movieid int, moviename)
insert into #movies
select 1, 'Star Wash' union
select 2, 'MIssion Possible'
create table #genres(genreid, genre)
insert into #genres
select 1, 'Sci-Fi' union
select 2, 'Comedy' union
create #table #moviegenres(movieId int, genreId int)
select 1, 1 --Star wars, Sci-Fi
create table #persons(personid int, firstname varchar(150),
lastname varchar(150))
insert into #persons
select 1, 'Denz', 'El' union
select 2, 'Wash', 'Ington'
create table etc etc