mysql获取自增id 发表于2013 年 7 月 1 日由ares SELECT TABLE_ROWS FROM information_schema.tables WHERE table_name='game' AND table_schema = DATABASE();