The only way I know is show create table MyTable
views:
25answers:
3
A:
SHOW TABLE STATUS LIKE "tablename";
the auto_increment
column will show the count.
Pekka
2010-10-23 13:45:21
A:
SELECT `AUTO_INCREMENT`
FROM `information_schema`.`TABLES`
WHERE `TABLE_SCHEMA` = SCHEMA()
AND `TABLE_NAME` = 'tbl_name';
dev-null-dweller
2010-10-23 14:22:29