Gilles Ganault <[EMAIL PROTECTED]> wrote:
> I'd like to fetch all the rows in "code" that don't exist in
> "companies":
>
> SELECT code.id FROM code,companies WHERE code.id IS NOT IN (SELECT
> code FROM companies);

select code.id from code
where code.id not in (select code from companies);

Igor Tandetnik 



_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to