Вы можете попробовать это:
Declare @movie table (id int, moviename varchar(50),producer varchar(50),actor1 int, actor2 int)
Declare @Actor table (Id int, Actorname varchar(50))
Insert into @movie values (1,'X-Man','Prod1',1,2)
Insert into @movie values (2,'ANt Man','Prod2',3,1)
insert into @Actor values (1,'Sam')
insert into @Actor values (2,'Jhon')
insert into @Actor values (3,'Brick')
select * from @Actor
select a.id,a.moviename,a.producer,b.Actorname + ',' + c.Actorname as actors from @movie a
join @Actor b
on a.actor1=b.Id
join @Actor c on c.Id=a.actor2