MYSQL count(DISTINCT an AUTO_INCREMENT column)
The following result is quite surprising. MySQL [emicall_cc_man]> SELECT count(DISTINCT `id`) from call_record; +----------------------+ | count(DISTINCT `id`) | +----------------------+ | 2197537 | +----------------------+ 1 row in set (1.32 sec) MySQL [emicall_cc_man]> SELECT count(`id`) from call_record; +-------------+ | count(`id`) | +-------------+…