Hi!
I have two tables in Sql.
Fruits
Id
|
Name
|
1
|
Apple
|
2
|
Banana
|
3
|
Cherry
|
Person
Id
|
Name
|
1
|
Rustam
|
2
|
Muhammad
|
3
|
Sindbod
|
4
|
Sadriddin
|
Products
Id
|
PersonId
|
FruitId
|
1
|
1,3,4
|
1
|
2
|
1,2
|
3
|
3
|
2
|
2
|
Now I want below result.
Output result:
Id
|
Name_Person
|
Fruit
|
1
|
Rustam, Sindbod, Sadriddin
|
Apple
|
2
|
Rustam, Muhammad
|
Cherry
|
3
|
Muhammad
|
Banana
|