Home > Database > Mysql Tutorial > body text

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

WBOY
Release: 2016-06-06 09:40:02
Original
934 people have browsed it

mysqlpython数据库

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

我现在写的是

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!