Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8511

Counts of parts of a split string

$
0
0

I have a field which has multianswers. So for an example say my fields are Name and Pet.

 

The table could look like:

NamePet
JanetDog
JackCat, dog, goat
JaneHamster, cat, dog
JeanHamster
JulieDog, cat, hamster
JoeDog, goldfish

 

I want to know how many dogs there are, how many cats, etc. In this case, Dog=5, Cat=3. Hamster=3. goat=1, goldfish=1

Any advice greatly appreciated.


Viewing all articles
Browse latest Browse all 8511

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>