vedi la colonna EXTRA nella tabella COLUMNS:
select * from COLUMNS where TABLE_SCHEMA='yourschema' and TABLE_NAME='yourtable' and EXTRA like '%auto_increment%'
vedi la colonna EXTRA nella tabella COLUMNS:
select * from COLUMNS where TABLE_SCHEMA='yourschema' and TABLE_NAME='yourtable' and EXTRA like '%auto_increment%'