I am using Oracle SQL and I want to group some different rows that \'like\' function results. To elaborate with an example:
Let\'s assume I have a table MESA w
SELECT count(*) AS 'Apples' FROM MESA m WHERE m.str LIKE '%FRUIT%' AND m.str LIKE '%APPLE%' SELECT count(*) AS 'Oranges' FROM MESA m WHERE m.str LIKE '%FRUIT%' AND m.str LIKE '%ORANGE%'
Would that work?