I am using the below to get the top count of pages visited in past 60 days, where I need a match in the url for 'abc.cfm' or '/entity/'. Is there a way to do this using regex? Is the below method ok to use or is there a better way. Thanks in advance.
SELECT url, count(URL)
FROM tableone
WHERE ( INSTR(url, 'abc.cfm') > 0
or
INSTR(url, '/entity/') > 0 )
and VIEW_DT > sysdate - 60
group by URL
order by count(URL) desc