database - Oracle - Compare rows with large number of columns -
I have to compare 2 rows with a large number of columns.
This is something like this: ID A column 1 column 2 ... ID B column 1 column 2 ..... ID C column 1 column 2 ..... < / Pre>
I want to compare columns in large quantities like subtract them from them. I do not want a zero from the tables, I want to take similar action on all the columns. Any call should tell me how to name each column without referencing
CDE01 A 06 CD PDE02 B 07 CD PDE 03 A 05 CD < / P> So if I compare with CDEAD then 2 and 3 columns in the other rows are identical. I have several columns that require matching. There are two types of rows in the table and I have to compare each row of a set, where there will be a section with the second row of the second row. There are two different types of lines, like PDE and CDE.
why you do not make two views or need more). Each scene shows what you consider as cloaking (you call them like rows). So you can end up with a sequence: CDE_Data and PDE_Data
Then you have to decide what it means for the rows to separate. I do not get any match from the data provided by you - You need to determine how a line from CDDAD will match a PDE_Data line, so that you can use that second column (A and B) To match. If this is the case, then join the cde_dta on pde_data based on it and then use the solution here:
Comments
Post a Comment