Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
›
MySQL 5.5 Community Server
›
MySQL 5.6 Community Server
›
Percona Configuration Wizard
›
XtraBackup 搭建主从复制
Great Sites on MySQL
›
Percona
›
MySQL Performance Blog
›
Severalnines
推荐管理工具
›
Sequel Pro
›
phpMyAdmin
推荐书目
›
MySQL Cookbook
MySQL 相关项目
›
MariaDB
›
Drizzle
参考文档
›
http://mysql-python.sourceforge.net/MySQLdb.html
Advertisement
V2EX
›
MySQL
非递增字段,批量插入时怎么在 mysql 的表中普通的 int 字段插入递增的数据?
ka
·
Jun 9, 2015
· 3321 views
This topic created in 3979 days ago, the information mentioned may be changed or developed.
例如下面这句
INSERT INTO tableA (aaid,bbid) (SELECT 45, ID FROM tableB WHERE id < 10)
我怎么可以实现第一行插入是aaid是45,第二行插入是46
字段
aaid
递增
1 replies
1
yfl168648
Jun 9, 2015
触发器
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
930 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 27ms ·
UTC 23:26
·
PVG 07:26
·
LAX 16:26
·
JFK 19:26
♥ Do have faith in what you're doing.
❯