往A表中插入A表中不存在uid,A表的中的uid 是B表的外键
insert into A(hid,uid) select 491,id from user where id not in (select uid from A where hid=491);
往A表中插入A表中不存在uid,A表的中的uid 是B表的外键
insert into A(hid,uid) select 491,id from user where id not in (select uid from A where hid=491);