I'm going to implement this function!
+-----+-----+
|name | age |
+-----+-----+
|Dong | 19 |
|Dung | 25 |
+-----+-----+
I want to increase column "age" by one like this:
+-----+-----+
|name | age |
+-----+-----+
|Dong | 20 |
|Dung | 26 |
+-----+-----+
pls help me solutions!!
There were twos solution which I thought:
1) using UPDATE sqlCommand.
update x set a = a + 1 where a = "age"
2) create new column = old column + 1 then replace old column by new one.