plsql - Update new column with value from one column -
i 2 columns in table , need update third column value column combinations below:
columna columnb newcolumn 1 2 1 2 1 1 3 4 3 4 3 3
i thing need this.
update your_table set column3 = least(column1,column2);
Comments
Post a Comment