Could you help me to make this query faster. My query is workable, but too slow :'(
I want to get all rows from my table, where value of coloumn word meets more than once.
My query looks like next:
select * from `t`
where id in (select id from `t` group by word having count(*)>1)
The following query should give you more accurate results… indexing
wordshould improve your performance: