I have two tables:
table_a:
ID | NAME
===============
1 | DAN
2 | RON
3 | JANE
table_b:
ID | TEXT
===============
2 | APPLE
2 | BANANA
2 | COFFEE
I need to get the results for ID 2.
I was thinking that even if I got a string containing the TEXT’s values for ID 2 from table_b would be great for example:
ID | NAME | TEXT
=============================
2 | RON | APPLE,BANANA,COFFEE
Is this even possible?
Here is a sample
Give it a Try !!!
To get all values available in table_a and anything that can be grouped from table_b:
Here is that sample: