如何给除了主键外的字段设置自增?一个表有主键,是自增的,我想给表的另一个字段设置主键,设置成自增从10000开始自增,在网上找了好多资料都是设置主键的,没有其他字段的,想问下如何写?
From [MySQLdiscussion group] 2017-03-08 16:37:59 0 1 1163
From [MySQLdiscussion group] 2020-03-08 19:46:35 0 1 1163
From [MySQLdiscussion group] 2018-07-11 10:25:23 0 3 1163
Problems with navicat and MYSQL5.7
From [MySQLdiscussion group] 2017-05-18 10:46:38 0 1 1159
java - mysql blob type reading problem!
From [MySQLdiscussion group] 2017-06-24 09:41:30 0 1 1152
2-8 The video deleted from the database was placed in the wrong place
2-8 The video deleted from the database was placed in the wrong place
From [MySQLdiscussion group] 2021-11-25 14:17:15 0 6 1148
Common methods for connecting to MYSQL database with PHP
From [MySQLdiscussion group] 2021-09-07 13:56:33 0 3 1148
Virtual centos error when connecting to mysql
内容Can't connect to local MySQL server through socket '/tmp/mysql.sock'
From [MySQLdiscussion group] 2021-12-10 12:57:42 0 0 1147
mysql optimization - Will the mysql like statement cause a full table scan?
select id from t where name like '%abc%'
From [MySQLdiscussion group] 2017-05-24 11:34:37 0 3 1146
我用python写了一段代码用于批量插入数据库出错,如何解决,伪代码:from django.db import connection ... cursor = con...
From [MySQLdiscussion group] 2016-11-14 10:42:15 0 1 1145
From [MySQLdiscussion group] 2017-04-17 16:52:09 0 3 1144
From [MySQLdiscussion group] 2017-11-15 16:48:28 0 0 1143
mysql怎么实现mssql的if exists() begin...end功能?
From [MySQLdiscussion group] 2017-04-17 16:22:37 0 2 1143
<?php $redis = new redis(); $redis->connect('127.0.0.1', 6379); for&nb...
From [MySQLdiscussion group] 2017-03-14 09:37:36 0 2 1142
From [MySQLdiscussion group] 2016-12-21 17:45:47 0 2 1139