Forum Moderators: coopster
The master table has a long list of data.
The insert table has some data I've collected that I want to insert into the master table.
Is there a way I can easily insert only the items from the insert table into the master table which don't exist. In other words, I don't want to duplicate any information already in the master table.
I'd prefer to do this only in SQL, unless there's a performance reason to do it in code (I don't think there would be).
EXISTS and NOT EXISTSclauses at that level.
Prior to that version you could use an INSERT ... SELECT [dev.mysql.com] if you have
PRIMARY KEYSdefined.