I want to update from table1 to table2. Table1 has a field called term, it is either a Y or N. Table1 also has a term_date field. Table2 has two date fields, term1 and term2. I want to update term1 or term 2 on table2 with term_date from table1 based on whether term is a Y or N.
if term = Y
update term1 with term_date
if term = N
update term2 with term_date
I can't for the life of me figure out how to do this. Can anyone help?