0

Sample: There is a table with 3 columns, c1, c2 and c3.

- c1 is the PK. 
- c2 is empty.
- c3 is same data type as c2 and empty.

How to write a sql statement to copy values in c3 to c2 for all rows accordingly?

4

1 回答 1

4

Please try:

UPDATE YourTable
SET C2=C3
于 2013-11-15T07:18:34.137 回答