Home > Database > Mysql Tutorial > mysql-sql 如何设置一列id为连续的自然数

mysql-sql 如何设置一列id为连续的自然数

WBOY
Release: 2016-06-06 09:39:04
Original
2231 people have browsed it

mysqlsqlitesqlautoincrement

即删除中间记录时,这一列仍能连续,比如12345行,删除第三行,记录变为1234,
这样如何实现?

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