当前位置:网站首页>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 :

边栏推荐
- Using burpsuite to capture app packages
- 【邂逅Django】——(二)数据库配置
- leetcode:329. The longest incremental path in the matrix [DFS + cache + no backtracking + elegance]
- Operator-1初识Operator
- Zabbix 6.0 源码安装以及 HA 配置
- Three stages of aho
- 项目部署,一点也不难!
- 腾讯总考epoll, 很烦
- shell脚本导入存储过程到数据库
- 题目 2612: 蓝桥杯2021年第十二届省赛真题-最少砝码(枚举找规律+递推)
猜你喜欢

79. 单词搜索【dfs + 回溯visit + 遍历起点】
![79. Word search [DFS + backtracking visit + traversal starting point]](/img/d6/a7693b2af435b7cf4562161ca4bd3f.png)
79. Word search [DFS + backtracking visit + traversal starting point]

The future of game guild in decentralized games

Zabbix 6.0 源码安装以及 HA 配置

【开发大杀器】之Idea

我花上万学带货:3天赚3元,成交靠刷单

Ikvm of toolbox Net project new progress

Operator-1初识Operator

MHA high availability cluster deployment and failover of database

Function test process in software testing
随机推荐
ROS2 Foxy depthai_ros教程
【邂逅Django】——(二)数据库配置
Idea of [developing killer]
Use Net core access wechat official account development
王兴的无限游戏迎来“终极”一战
Localtime can't re-enter. It's a pit
ROS2 Foxy depthai_ ROS tutorial
【开发大杀器】之Idea
手机便签应用
How can genetic testing help patients fight disease?
Fundamentals of number theory and its code implementation
工具箱之 IKVM.NET 项目新进展
Meta再放大招!VR新模型登CVPR Oral:像人一样「读」懂语音
有没有大佬 遇到过flink监控postgresql数据库, 检查点无法使用的问题
SSO and JWT good article sorting
What are the solutions for session sharing of highly paid programmers & interview questions series 118?
《MATLAB 神经网络43个案例分析》:第40章 动态神经网络时间序列预测研究——基于MATLAB的NARX实现
Manage nodejs with NVM (downgrade the high version to the low version)
mysql统计账单信息(下):数据导入及查询
木架的场景功能