I have some data that I want to group in order to search.
An example would look like: (just an exmaple)
Is there a dynamic way to see how many times the words appear in the table?
I could write a case statement looking for '%apples%' and then grouping them ect, but I don't know all the terms possible and the table has quite a few records. Is there a dynamic way to have an output like:
An example would look like: (just an exmaple)
Code:
id Desc
123 Apples oranges bannanas
124 Apples Libraries
125 Bannanas Apples
126 libraries
127 zoos
Is there a dynamic way to see how many times the words appear in the table?
I could write a case statement looking for '%apples%' and then grouping them ect, but I don't know all the terms possible and the table has quite a few records. Is there a dynamic way to have an output like:
Code:
Desc Count
Apples 3
Oranges 1
Bannanas 2
Libraries 2
Zoos 1