SELECT AUTO_INCREMENT FROM information_schema.tables WHERE table_name = '{tabla}' AND table_schema = '{bd}'