create table tb ( a int, b char(8), primary key (a,b) ); a,b为联合主键
insert into tb(a,b) select 1,1001 from tb where not exists(select * from tb where a=1 and b=1001);
57,065
社区成员
56,762
社区内容
加载中
试试用AI创作助手写篇文章吧