当前位置:网站首页>Excel splicing database statement
Excel splicing database statement
2022-07-29 03:31:00 【Doraemon's pocket】
excel There is 5 Column data , Namely Serial number , Number , full name , nickname , mailbox 
The statements you want to splice into a database are as follows :
update users set `uid`=2,`name`=" Zhang San ",`r_name`=" Li Si ",`email`="[email protected]" where id=1;
update Statement next to the input function as follows , It can be generated automatically .
=CONCATENATE("update users set `uid`="&B2&",`name`="""&C2&""",`r_name`="""&D2&""",`email`="""&E2&""" where id="&A2&";")
The same is true for other statements , Such as insert sentence :
=CONCATENATE("insert into users(`uid`,`name`,`r_name`,`email`) values("""&B3&""","""&C3&""","""&D3&""","""&E3&""");")
边栏推荐
- Functions and comparison of repeaters, hubs, bridges, switches and routers
- 一种简单通用的获取函数栈空间大小的方法
- 04 | background login: login method based on account and password (Part 1)
- Introduction and comparison of unicast, multicast (target broadcast, multicast), broadcast, flooding, flooding
- HDU multi School Game 2 1011 DOS card
- Does domestic ERP have a chance to beat sap?
- 数字孪生实际应用案例-智慧能源篇
- NXP i.mx8mp-deepviewrt
- Anti vulnerability · benefit from uncertainty --- management?
- Numpy acceleration -- > cupy installation
猜你喜欢

The Federal Reserve raised interest rates again, Powell "let go of doves" at 75 basis points, and US stocks reveled

How to solve the time zone problem in MySQL timestamp
![[technology 1]](/img/eb/63baf1ae3931a156a0a5b377a9b7d1.jpg)
[technology 1]

for_each用法示例

Producer consumer model of concurrent model

A case of gradually analyzing the splitting of classes -- colorful ball collisions

最新二开版漫画小说听书三合一完整源码/整合免签接口/搭建教程/带采集接口

Sleuth+zipkin to track distributed service links

深入C语言(3)—— C的输入输出流

Arm architecture and neural network
随机推荐
How close can QA be to business code Direct exposure of defects through codediff
three.js 第五十四用如何给shader传递结构体数组
Design of smoke temperature, humidity and formaldehyde monitoring based on single chip microcomputer
MySQL流程控制之while、repeat、loop循环实例分析
xxxxx
机器学习【Numpy】
04 | background login: login method based on account and password (Part 1)
NXP i.mx8mp-deepviewrt
复现20字符短域名绕过以及xss相关知识点
GJB common confused concepts
The difference between int and integer. Is int or integer used in practical applications?
Redis之sentinel哨兵集群怎么部署
Simple understanding of Poe and UPS Technology
JS regular expression finds the number of times a character (string) appears (one line of code)
Pp-yoloe details
LeetCode 1331 数组序号转换[Map] HERODING的LeetCode之路
Simple understanding of CDN, SDN and QoS
Sanzi chess (player + computer)
军品研制过程-转阶段
How does DataGrid export and recover the entire database data, using a single SQL file