Given two tables :
A with row : [1641, 1468] Amongst others
B with row : [1641, 1468] Amongst others
If I run this :
select distinct A.c1, B.c2
from A, B
where A.c1 <> B.c1 and A.c2 <> B.c2
I was expecting not to get that tuple back. Although when running the command it returns that tuple.
Is there an explanation for this behavior ? Using SQLite.
If you have
.
The join will first produce
With distinct and just the selected columns it will be
I suspect you want something like