Forward Info SET & ENUM field will not work for me. As this data is dynamic is those field types are limited.
I have a table with a VARCHAR field called "GROUPS". In that field I will store values such as (1,2,3,4,2,1,5). What I would like to do is group by that SET of numbers.
I am beyond stumped, I cannot figure how to get my sets out indivudally so I can group them. If I can even get the groups to list I will be happy.
Example (DBASE)
[Name] [groups]
dog 1,3,4,5,2
Cat 2,4,5
Bird 3,1,2
Now I need a sql statement which will group based on the sets
+++++++++++++++++++++++++++++++++++++++++++++
Group 1
DOG
BIRD
GROUP 2
DOG
CAT
BIRD
GROUP 3
DOG
GROUP 4
DOG
CAT
GROUP 5
DOG
CAT
I WOULD EVEN BE HAPPY WITH THIS
++++++++++++++++++++++++++
DOG 1
DOG 2
DOG 3
DOG 4
DOG 5
CAT 2
CAT 4
CAT 5
BIRD 1
Just a long as I can get the data to display based on the group information. This is really holding me back.
Thanks