当前位置:网站首页>Example of MySQL processing legacy data
Example of MySQL processing legacy data
2022-07-28 05:44:00 【Little madman green】
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;
边栏推荐
猜你喜欢
随机推荐
环形链表问题
DOM操作的案例
树莓派串口配置
顺序表oj题目
Custom JSON return data
SVG了解与绘图应用
Review of metallurgical physical chemistry --- electrodeposition and reduction process of metals
冶金物理化学复习 --- 复杂反应的速率方程
uniapp-监听app是否有网络连接
深度学习医学图像模型复现
Mysql database index (InnoDB engine)
Oracle uses SQL to query the field information of a table (field type, length, etc.)
C语言回顾(指针篇)
五子棋优化版
ES6--->箭头函数、类、模块化
How Visio accurately controls the size, position and angle of graphics
Example of main diagram of paper model
openjudge:找第一个只出现一次的字符
RESNET structure comparison
Idea uses dev tool to realize hot deployment








