当前位置:网站首页>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;
边栏推荐
- Microservice failure mode and building elastic system
- PC side bug record
- HDU 3585 maximum shortest distance
- Classes and objects [medium]
- Anaconda common instructions
- First acquaintance with C language (1)
- FreeRTOS startup process, coding style and debugging method
- JSON in JS (launch object deep copy)
- Printf function of input and output function in C language
- Activation functions sigmoid, tanh, relu in convolutional neural networks
猜你喜欢

【ARXIV2204】Simple Baselines for Image Restoration

为什么md5不可逆,却还可能被md5免费解密网站解密

如何在 FastReport VCL 中通过 Outlook 发送和接收报告?

Simulink automatically generates STM32 code details

SSLError

Flask Development & get/post request

Microservice failure mode and building elastic system

Melt cloud x chat, create a "stress free social" habitat with sound

First acquaintance with C language (2)

Mysql基本查询
随机推荐
HashSet add
DELL远程控制卡 使用ipmitools设置ipmi
数据库日期类型全部为0
[slam] lvi-sam analysis - Overview
【CVPR2022】Lite Vision Transformer with Enhanced Self-Attention
ES6 new variable modifiers let and const, new basic data type symbol
PC side bug record
HDU 2874 connections between cities
New methods and features of ES6 built-in objects
Applet import project
Gan: generative advantageous nets -- paper analysis and the mathematical concepts behind it
mysql的日期与时间函数,varchar与date相互转换
Barbie q! How to analyze the new game app?
7. < tag string and API trade-offs> supplement: Sword finger offer 05. replace spaces
HashSet add
Class class added in ES6
Making RPM packages with nfpm
C language: some self realization of string functions
POJ 2763 housewife wind (tree chain partition + edge weighting point weight)
Offline loading of wkwebview and problems encountered