ShareThis

Wednesday, October 24, 2012

[SQL] Insert into table A where in Table B and Not in Table A Yet

Code:
1
2
3
insert into tableA(id) 
  (select id from tableB where id not in 
  (select id from tableA)) 

0 comments:

Post a Comment