当前位置:网站首页>MySQL statistical bill information (Part 2): data import and query
MySQL statistical bill information (Part 2): data import and query
2022-07-01 12:52:00 【51CTO】
Last one mysql Statistics of billing information ( On ):mysql Installation and client DBeaver Connection to use It introduces mysql5.7 Installation and client DBeaver Connection configuration , This article continues with an article , Introduce data import and query Export .
One 、excel Import
The import of data can be excel It can also be a guide library , Let me introduce excel Import the way
1. turn csv
take xlsx Format conversion to csv Pattern
2. transcoding
Use notepad Open and transcode as UTF-8

3. Guide table

take excel Import database

next step

Select mobile statement

next step



Report errors :

The reason for this error is unauthorized , Authorization is enough
4. Table view

Table data viewing

Two 、 Recover database
This section demonstrates restore Import data in database mode



Select the... To import sql file , Perform import , Authorization is required before importing
Perform import

The import process may involve max_allowed_packet Numerical adjustment , Set up max_allowed_packet Higher value


Refresh the view

see yd_csv Table structure :
Move the full scale details :

3、 ... and 、 Move query statement
The query statement is based on restore Imported library table , It can also be imported excel, Here is an example of the former
1. Query statement
2. Query results

3. Query result export





Select the output directory and file name format



Export as follows :

边栏推荐
- R语言使用yardstick包的conf_mat函数计算多分类(Multiclass)模型在每个交叉验证(或者重采样)的每一折fold上的混淆矩阵、并使用summary输出每个fold的其它详细指标
- Will it affect the original MySQL database to read the data of a MySQL table in full by flick MySQL CDC
- Tencent security and KPMG released a regulatory technology white paper to analyze the "3+3" hot application scenarios
- GID: open vision proposes a comprehensive detection model knowledge distillation | CVPR 2021
- leetcode:329. 矩阵中的最长递增路径【dfs + cache + 无需回溯 + 优雅】
- Update a piece of data from the database. Will CDC get two pieces of data with OP fields D and C at the same time? I remember before, only OP was U
- codeforces -- 4B. Before an Exam
- redis探索之缓存一致性
- 有人碰到过这种情况吗,oracle logminer 同步的时候,clob字段的值丢失
- When Sqlalchemy deletes records with foreign key constraints, the foreign key constraints do not work. What is the solution?
猜你喜欢
随机推荐
逆向调试入门-PE结构-输入表输出表05/07
基于.NetCore开发博客项目 StarBlog - (13) 加入友情链接功能
nexus搭建npm依赖私库
Topic 2612: the real topic of the 12th provincial competition of the Blue Bridge Cup in 2021 - the least weight (enumerating and finding rules + recursion)
mysql统计账单信息(下):数据导入及查询
Wang Xing's infinite game ushers in the "ultimate" battle
shell脚本导入存储过程到数据库
数论基础及其代码实现
硬件开发笔记(九): 硬件开发基本流程,制作一个USB转RS232的模块(八):创建asm1117-3.3V封装库并关联原理图元器件
redis探索之缓存击穿、缓存雪崩、缓存穿透
从数据库中更新一条数据,用cdc会同时获得op字段分别为d和c的两条数据吗?我记得之前是只有op为u
Feign & Eureka & Zuul & Hystrix 流程
GID: open vision proposes a comprehensive detection model knowledge distillation | CVPR 2021
Fiori 应用通过 Adaptation Project 的增强方式分享
Report on the "14th five year plan" and investment strategy recommendations for China's industrial robot industry 2022 ~ 2028
【历史上的今天】7 月 1 日:分时系统之父诞生;支付宝推出条码支付;世界上第一支电视广告
[encounter Django] - (II) database configuration
When Sqlalchemy deletes records with foreign key constraints, the foreign key constraints do not work. What is the solution?
有没有大佬 遇到过flink监控postgresql数据库, 检查点无法使用的问题
c语言学习








