I'm merging two similar databases (A and B) where I take entries in A that aren't in B and add them to B. I was trying to do it with an attached database (I used .open A.db and attach 'B.db' as B). Both have table C which contains column D. I need to do some inner joins on other tables, but first I need to do something like:
select D from C where not exists (select D from B.C where C.D = B.C.D);
And I get the error "no such column: B.C.D
Are you not allowed two dots in one expression? Do I need to somehow use "as" to fix that, or would that even work?