-
USE information_schema; SELECT * FROM `information_schema`.`COLUMNS` WHERE `EXTRA` = 'auto_increment'