当前位置:网站首页>Mysql处理遗留数据样例
Mysql处理遗留数据样例
2022-07-28 05:16:00 【小疯子青】
insert into user_pack_info(user_id,nick_name,bind_code,invite_code,phone,email,real_name,kyc_pass,create_time,update_time,create_time_stamp,update_time_stamp)
select id user_id,nick_name,bind_code,invite_code,phone,email,real_name,real_name_auth kyc_pass,created_at create_time,updated_at update_time,UNIX_TIMESTAMP(created_at)*1000 create_time_stamp,UNIX_TIMESTAMP(updated_at)*1000 update_time_stamp
from user;
update account_info a,(select * from history_saro) b
set a.num=a.num+b.num
where a.user_id=b.user_id and a.material_type=b.material_type;
边栏推荐
- Keil Chinese garbled code solution
- [slam] lvi-sam analysis - Overview
- 类和对象【中】
- Message forwarding mechanism -- save your program from crashing
- 多御安全浏览器将改进安全模式,让用户浏览更安全
- mysql的日期与时间函数,varchar与date相互转换
- Data imbalance: comprehensive sampling of anti fraud model (data imbalance)
- 这种动态规划你见过吗——状态机动态规划之股票问题(中)
- Advanced assignment method of ES6 -- Deconstruction assignment
- 【CVPR2022】Multi-Scale High-Resolution Vision Transformer for Semantic Segmentation
猜你喜欢

CPU and memory usage are too high. How to modify RTSP round robin detection parameters to reduce server consumption?

从微服务基本概念到核心组件-通过一个实例来讲解和分析

【CVPR2022】Multi-Scale High-Resolution Vision Transformer for Semantic Segmentation

First acquaintance with C language (2)

MySQL(5)

Why is MD5 irreversible, but it may also be decrypted by MD5 free decryption website

【ARXIV2203】Efficient Long-Range Attention Network for Image Super-resolution

Google browser cannot open localhost:3000. If you open localhost, you will jump to the test address

Configuration experiment of building virtual private network based on MPLS

类和对象【中】
随机推荐
regular expression
SSLError
HDU 3592 World Exhibition (differential constraint)
[internal mental skill] - creation and destruction of function stack frame (C implementation)
Melt cloud x chat, create a "stress free social" habitat with sound
DELL远程控制卡 使用ipmitools设置ipmi
Microservice failure mode and building elastic system
【CVPR2022 oral】Balanced Multimodal Learning via On-the-fly Gradient Modulation
Table image extraction based on traditional intersection method and Tesseract OCR
Making RPM packages with nfpm
2022 summer practice (first week)
FreeRTOS startup process, coding style and debugging method
First acquaintance with C language (2)
JSON in JS (launch object deep copy)
php7.1 连接sqlserver2008r2 如何测试成功
Gan: generative advantageous nets -- paper analysis and the mathematical concepts behind it
How to send and receive reports through outlook in FastReport VCL?
Activation functions sigmoid, tanh, relu in convolutional neural networks
凛冬已至,程序员该怎么取暖
Performance test classification