mercredi 2 décembre 2015

Sqlite query all the missing ids

I got two tables in my DB, users and gifts. The user table got id and data, the gifts table got gift_id, user_id and data.

gitst.user_id associated with users.id

How can I get all the user_id from gifts table that not appear in users table?

Aucun commentaire:

Enregistrer un commentaire