ok lets see, maybe this would be easier....
say you have two tables.....
table2 is all the originals, no duplicates and a unique field other than the id......
table1 is all the processed data, with duplicates
(both tables have all the same fields)
so, the reason i create table1 in the first place, is to generate some data that gets attached to further specify what kind of stars these are (spectral type, and absolute magnitudes) - basically all the stars from table2 are checked against a bank of other data and it joins those two fields from matching values.
example:
table2
id nid value1 value2 value3
1 01-1 0.00 0.31 0.11
spectral table
spectype absmag table2.value1+table2.value2 table2.value3+table2.value1
F5 0.55 0.01 0.31 0.62
table1
id nid value1 value2 value3 spectype absmag
1 01-1 0.00 0.31 0.11 F5 0.55
so the data i want, which is that star 01-1 is spectype F5 with absmag of 0.55 since table2.value1+table2.value2 = 0.31......so this is why table1 has so many duplicates, because different values will align with different spectral types and return more than one result per star since each star has 6 different values to check against 6 other tables full of types, and magnitudes etc....
so the question i guess is......can i just take the spectral types and magnitudes assigned in table1 and join those 2 columns to table2 - BUT only one of them per unique key (nid) ??
that would be the most ideal, hopefully this is a decent explanation - thanks again!