lundi 3 août 2015

Insert with if condition

I need to create a sql statement that does this work: let's say I have two tables A and B containing integer fields. What I have to achieve is:

if (!(C is contained into A)) insert C into B

I'm using SQLite. Thanks for help

Aucun commentaire:

Enregistrer un commentaire