insert and initialize a sql column with value dependent on another column data

Solutions on MaxInterview for insert and initialize a sql column with value dependent on another column data by the best coders in the world

showing results for - "insert and initialize a sql column with value dependent on another column data"
Briar
26 Jan 2020
1UPDATE table
2SET col = new_value
3WHERE col = old_value
4AND other_col = some_other_value;
5
6UPDATE table
7SET col = new_value
8WHERE col = old_value
9OR other_col = some_other_value;
10
similar questions