Dynamic SQL column value duplicate and difference detection merge query
I have n -columns that may contain unique or duplicated values meaning each column may have different values or the same ones. What I want to achieve is an MS Access script that can analyze n -columns that could do the following: If the columns if only one has a value and the rest are blank then the final value will be the only one seen ( Note : this one is already accomplished). +-----+----+----+-----+ |Var1 |Var2|Var3|Final| +-----+----+----+-----+ |1 | | |1 | +-----+----+----+-----+ | | |3 |3 | +-----+----+----+-----+ | |yes | |yes | +-----+----+----+-----+ If there are more than one