I am experiencing a strange thing while excecuting an sql query
SELECT *
FROM clients
WHERE id IN
(SELECT DISTINCT clientId
FROM quotes
WHERE storeEmail LIKE '%[email protected]%')
Now Result of SELECT DISTINCT clientId FROM quotes WHERE storeEmail LIKE '%[email protected]%'
has only few items like 10-20 but when i run above query, the entire phpmyadmin stucks and database starts to crash. What is wrong?