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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-06 09:39:042251browse

mysqlsqlitesqlautoincrement

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

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