I have statements like this that are timing out:
SELECT COUNT(*) FROM A WHERE A.value1 IN (
SELECT A.value1 FROM A WHERE A.value2 = 0
)
Table A has 13,000,000+ rows in it, and because of some reasons, I can't use indexes.
So how to speed it up without use indexes? I'm using MySQL 5.6.
Any help please.