I\'ve got a table which looks something like this
ID | NAME | VALUE | ---------------------------- 1 | Test | VALUE1 | 2 | Test2 |
UPDATE financialyear SET firstsemfrom = dt2.firstsemfrom, firstsemto = dt2.firstsemto, secondsemfrom = dt2.secondsemfrom, secondsemto = dt2.secondsemto from financialyear dt2 WHERE financialyear.financialyearkey = 141 AND dt2.financialyearkey = 140