当前位置:网站首页>Using Excel to quickly generate SQL statements
Using Excel to quickly generate SQL statements
2022-07-01 00:00:00 【Fold a fan to hide a smile】
Data sheet :
| id | name | age | sex | class |
|---|---|---|---|---|
| 1 | Zhang San | 18 | 1 | 2 |
| 2 | Li Si | 19 | 2 | 3 |
SQL:
INSERT INTO student (name,age,sex,class) values(' Zhang San ',18,2,4);
Batch build SQL
="INSERT INTO student (name,age,sex,class) VALUES('"&B2&"','"&C2&"','"&D2&"','"&E2&"');"| 1 | Zhang San | 18 | 1 | 1 | INSERT INTO student (name,age,sex,class) VALUES(' Zhang San ','18','1','1'); |
| 2 | Li Si | 19 | 1 | 1 | INSERT INTO student (name,age,sex,class) VALUES(' Li Si ','19','1','1'); |
| 3 | Wang Wu | 20 | 1 | 2 | INSERT INTO student (name,age,sex,class) VALUES(' Wang Wu ','20','1','2'); |
| 4 | Zhao Liu | 21 | 2 | 3 | INSERT INTO student (name,age,sex,class) VALUES(' Zhao Liu ','21','2','3'); |
边栏推荐
- 6-1 exploit -ftp exploit
- When we look at the industrial Internet, we always look at it from the opposite of the consumer Internet
- The girlfriend said: if you want to understand the three MySQL logs, I will let you heiheihei!
- Ctfshow framework reproduction
- 什么是SRM系统,如何规范公司内部采购流程
- 1175. Disposition des nombres premiers / échange de doigts II 104. Nombre de permutations
- [designmode] factory pattern
- Ride: get picture Base64
- Vmware16 installing win11 virtual machine (the most complete step + stepping on the pit)
- MaxPool2d详解--在数组和图像中的应用
猜你喜欢

5g smart building solution 2021

Maxpool2d explanation -- Application in arrays and images

Ms17-010 Eternal Blue vulnerability of MSF

Zero sample and small sample learning

Gateway service gateway

Software engineering best practices - project requirements analysis
![Cesiumjs 2022 ^ source code interpretation [6] - new architecture of modelempirical](/img/ce/519778cd731f814ad111d1e37abd10.png)
Cesiumjs 2022 ^ source code interpretation [6] - new architecture of modelempirical

Achieve secure data sharing among multiple parties and solve the problem of asymmetric information in Inclusive Finance

The girlfriend said: if you want to understand the three MySQL logs, I will let you heiheihei!

Quick start of wechat applet -- project introduction
随机推荐
1175. 質數排列 / 劍指 Offer II 104. 排列的數目
Solve arm_ release_ ver of this libmali is ‘g2p0-01eac0‘,rk_ so_ Ver is' 4 ', libgl1 mesa dev will not be installed, and there are unsatisfied dependencies
基金管理人公司治理和风险管理
C /platform:anycpu32bitpererrored can only be used with /t:exe, /t:winexe and /t:appcontainerexe
一次革命、两股力量、三大环节:《工业能效提升行动计划》背后的“减碳”路线图
To tell you the truth, ThreadLocal is really not an advanced thing
How to distinguish between platform security and online hype? What are the stop loss techniques for online speculation?
C language array interception, C string by array interception method (c/s)
Red Hat将在Project Atomic上运用容器负载服务器
New trends of China's national tide development in 2022
Mysql database query optimization
在指南针上买基金安全吗?
基金客户服务
5g smart building solution 2021
flutter - sort List排序
Maxpool2d explanation -- Application in arrays and images
1. crawler's beautifulsoup parsing library & online parsing image verification code
高等数学建模
Asynchronous transition scenario - generator
How to close an open DNS resolver