Home  >  Article  >  Database  >  mysql-MySQL数据以行插入时怎么空出一格给自增量的id用?

mysql-MySQL数据以行插入时怎么空出一格给自增量的id用?

WBOY
WBOYOriginal
2016-06-06 09:40:02935browse

mysqlpython数据库

MySQL数据以行插入时怎么空出一格给自增量的id用?

我现在写的是

"insert into db values (%s,%s)",value
Value=[a,b]

这直接从第一格开始插入数据
而我的第一格为id
怎么使其从第二格开始插入

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn