本人听网课做的一点笔记,感觉很实用,分享出来
表结构:
sql 语句
其中,tb_sequerce表是一个只含有一列id的表,如下
create table tb_sequence(id int auto_increment not null primary key(id))
向里面添加行数应于源表中号码最多那个人的号码数相同
然后 a表代替tb_sequerce,b代表user1表
本人听网课做的一点笔记,感觉很实用,分享出来
表结构:
sql 语句
其中,tb_sequerce表是一个只含有一列id的表,如下
create table tb_sequence(id int auto_increment not null primary key(id))
向里面添加行数应于源表中号码最多那个人的号码数相同
然后 a表代替tb_sequerce,b代表user1表