We are trying to get result as single row from one to many relation, there are atleast 25000 rows in actor table and atleast 10 images for each,
**Table** ActorTable
ActorId Int
ActorName nvarchar
ActorAge Int
----------------------------------------------------------------
ActorId ActorName ActorAge
----------------------------------------------------------------
1 Actor1 34
2 Actor2 40
3 Actor3 25
4 Actor4 19
5 Actor5 45
----------------------------------------------------------------
**Table** ActorImagesTable
ImgId Int
ActorId Int
ActorImage nvarchar
----------------------------------------------------------------
ImgId ActorId ActorImage
----------------------------------------------------------------
1 1 a.jpg
2 1 b.jpg
3 2 c.jpg
4 2 d.jpg
5 1 e.jpg
----------------------------------------------------------------
Want to return ActorId,ActorName, ActorAge, ActorImage
----------------------------------------------------------------
ActorId ActorName ActorAge ActorImage
----------------------------------------------------------------
1 Actor1 34 a.jpg,b.jpg,e.jpg
2 Actor2 40 c.jpg,d.jpg
3 Actor3 25
4 Actor4 19
5 Actor5 45
----------------------------------------------------------------
Please help
Regards