Запрос 1: select distinct email from mybigtable where account_id=345 занимает 0,1 с Запрос 2: Select count(*) as total from mybigtable where account_id=123 and email IN (<include all from above result>) занимает 0,2 с Запрос 3: Select count(*) as total from mybigtable where account_id=123 and...