In SQL, I have a table which have fields a_1,a_2,..., a_10. What kind of query says if I have rows s,t such that s.a_1=t.a_1 ,..., s.a_6=t.a_6 and for some j>6 we have s.a_i<>t.a_i?
In SQL, I have a table which have fields a_1,a_2,…, a_10 . What kind
Share
Join table to itself on the condition you supplied. Like: