当前位置:网站首页>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'); |
边栏推荐
- BeanUtils. Copyproperties() vs. mapstruct
- [leetcode] [SQL] notes
- Random ball size, random motion collision
- SSM integration process (integration configuration, function module development, interface test)
- Prospects of world digitalization and machine intelligence in the next decade
- 什么是SRM系统,如何规范公司内部采购流程
- 基金销售行为规范及信息管理
- 网上开华泰证券的股票账户是否安全呢?
- 基金銷售行為規範及信息管理
- Explain kubernetes backup and recovery tools velero | learn more about carina series phase III
猜你喜欢

Shell multitasking to download video at the same time
![Cesiumjs 2022 ^ source code interpretation [6] - new architecture of modelempirical](/img/ce/519778cd731f814ad111d1e37abd10.png)
Cesiumjs 2022 ^ source code interpretation [6] - new architecture of modelempirical

Maxpool2d explanation -- Application in arrays and images

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

VR panorama adds contrast function to make the display of differentiation effect more intuitive!
![[leetcode] [SQL] notes](/img/8d/160a03b9176b8ccd8d52f59d4bb47f.png)
[leetcode] [SQL] notes

Makefile notes (Yiwen Institute makefile)

让企业数字化砸锅和IT主管背锅的软件供应链安全风险指北

What is SRM system and how to standardize the internal procurement process of the company

Bridge emqx cloud data to AWS IOT through the public network
随机推荐
SSM integration process (integration configuration, function module development, interface test)
Zero sample and small sample learning
Design e-commerce seckill system
Ctfshow framework reproduction
Shell multitasking to download video at the same time
35家巨头科技公司联合组成元宇宙标准论坛组织
[PHP] self developed framework qphp, used by qphp framework
lvm-snapshot:基于LVM快照的备份
The programmer's girlfriend gave me a fatigue driving test
206 page Shanghai BIM Technology Application and development report 2021
Qlineedit of QT notes (74) specifies the input type
CentOS 6.3 x64 PHP 5.2.6 扩展安装OpenSSL出错的解决方法
DNS server setup, forwarding, master-slave configuration
MySQL index test
Operation record of reinitialization instance of Dameng database
Software engineering best practices - project requirements analysis
How to use dataant to monitor Apache APIs IX
Pycharm useful shortcut keys
Fh6908a negative pole turn off synchronous rectification analog low voltage drop diode control IC chip tsot23-6 ultra low power rectifier 1W power consumption < 100ua static replacement mp6908
LVM snapshot: backup based on LVM snapshot