I have a SQL query to get the count of matching input. When I run the query, it takes 28 seconds to get the count. Is there any faster way to get the matching count than simply using COUNT(Key)
.
Query
select
count(id)
from
bibcontents
where
tagno = '245'
and normvalue like 'china %'
or normvalue like '% china%'
Any help to this will be highly appreciated.
Thanks