当前位置:网站首页>Sqlite column A data is copied to column B
Sqlite column A data is copied to column B
2022-07-31 05:59:00 【work hard for today】
Test data:
alter table test add column_1 int;
insert into test (column_1) values(1),(2),(3);
Actual operation:
// Add a new column
alter table test add column_2 int;
update test set column_2 = column_1; // Copy the data of column_1 to column_2;
// Reset the original column data.
update test set column_1 = 0;
You're done!!!
边栏推荐
- The latest MySql installation teaching, very detailed
- 【windows】--- SQL Server 2008 超详细安装教程
- js中的this指向与原型对象
- 一个简单的bash转powershell案例
- mysql password modification method in Linux (pro-test available)
- cocos2d-x-3.2 Physics
- NFTs: The Heart of Digital Ownership
- Yuan prospect and four track of the universe
- [Cloud native] Simple introduction and use of microservice Nacos
- 著名网站msdn.itellyou.cn原理分析
猜你喜欢

自定dialog 布局没有居中解决方案

What is an EVM Compatible Chain?

flutter arr 依赖

What is the difference between NFT and digital collection?
![[windows]--- SQL Server 2008 super detailed installation tutorial](/img/b7/dc802c63b07edc4298b6e6b90d865c.png)
[windows]--- SQL Server 2008 super detailed installation tutorial

GUCCI, LV and other luxury giant universe how to layout yuan, other brands should keep up with?

Linux modify MySQL database password

unicloud 发布后小程序提示连接本地调试服务失败,请检查客户端是否和主机在同一局域网下

The server time zone value ‘й‘ is unrecognized or represents more than one time zone

安装Multisim出现 No software will be installed or removed解决方法
随机推荐
For penetration testing methods where the output point is a timestamp (take Oracle database as an example)
Android软件安全与逆向分析阅读笔记
MySql创建数据表
mysql common commands
Year-end summary - the years are quiet~
C language tutorial (2) - printf and data types that come with c
js中的break与continue退出
cocos create EditBox 输入文字被刘海屏遮挡修改
阿里云中mysql数据库被攻击了,最终数据找回来了
flutter arr dependencies
js中的对象与函数的理解
DeFi 项目中的治理Token
flutter arr 依赖
阿里一面,说说你知道消息中间件的应用场景有哪些?
【云原生】原来2020.0.X版本开始的OpenFeign底层不再使用Ribbon了
Chinese garbled solution in UTF-8 environment in Powershell
How MySQL - depots table?A look at will understand
"limit" query in Oracle database
cocos2d-x 实现跨平台的目录遍历
The feign call fails, JSON parse error Illegal character ((CTRL-CHAR, code 31)) only regular white space (r