I'm currently analyzing string data and I want to view the count of specific words from a bunch of text.
I have something like these
SELECT
COUNT(text)
FROM review
WHERE text like "%hate%" or "%love%"
but it returns counts for only "%hate%". When I switched it with "%love%" first it returns only counts for "%love%". How do I write the query so that it will return the total counts for a series of words?