I hv a table like this:-
Item            Model           Remarks 
-----------------------------------------
A               10022009
B               10032006
C               05081997
I need to copy the info from "Model" to "Remarks" with the following format:-
Item            Mode开发者_如何学Pythonl          Remarks 
-----------------------------------------
A               10022009       20090210
B               10032006       20060310
C               05081997       19970805
Thanks
update the_table set remarks = 
   substr(model, 5, 4) || substr(model, 3, 2) || substr (model, 1, 2)
You could also use date parsing / formatting functions instead of string operations.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论