SELECT COUNT(*) as cnt, SUBSTR(SUBSTR(Email, INSTR(Email, '@'), INSTR(Email, '.')), 2) as domain FROM Users GROUP BY domain ORDER BY cnt DESC |
Проблемите, с които се сблъскваме всеки ден
SELECT COUNT(*) as cnt, SUBSTR(SUBSTR(Email, INSTR(Email, '@'), INSTR(Email, '.')), 2) as domain FROM Users GROUP BY domain ORDER BY cnt DESC |