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

边栏推荐
猜你喜欢

项目部署,一点也不难!

基于开源流批一体数据同步引擎 ChunJun 数据还原 —DDL 解析模块的实战分享

Queue operation---
![leetcode:241. Design priority for operation expression [DFS + Eval]](/img/d0/8dedeba7ecedccd25e0e3e96ff3362.png)
leetcode:241. Design priority for operation expression [DFS + Eval]

硬件开发笔记(九): 硬件开发基本流程,制作一个USB转RS232的模块(八):创建asm1117-3.3V封装库并关联原理图元器件

CS5268优势替代AG9321MCQ Typec多合一扩展坞方案

Zabbix 6.0 源码安装以及 HA 配置

【开发大杀器】之Idea

Function test process in software testing

Fiori 应用通过 Adaptation Project 的增强方式分享
随机推荐
阿霍的三个阶段
Class initialization and instantiation
Tencent security and KPMG released a regulatory technology white paper to analyze the "3+3" hot application scenarios
R语言使用yardstick包的conf_mat函数计算多分类(Multiclass)模型在每个交叉验证(或者重采样)的每一折fold上的混淆矩阵、并使用summary输出每个fold的其它详细指标
基因检测,如何帮助患者对抗疾病?
运行Powershell脚本提示“因为在此系统上禁止运行脚本”解决办法
天青色等烟雨
【邂逅Django】——(二)数据库配置
Huawei interview question: Recruitment
Report on the "14th five year plan" and investment strategy recommendations for China's industrial robot industry 2022 ~ 2028
【历史上的今天】7 月 1 日:分时系统之父诞生;支付宝推出条码支付;世界上第一支电视广告
leetcode:241. 为运算表达式设计优先级【dfs + eval】
Digital signal processing -- Design of linear phase (Ⅱ, Ⅳ) FIR filter (2)
工具箱之 IKVM.NET 项目新进展
Share several tools for designing exquisite circuit diagrams
【牛客刷题-SQL大厂面试真题】NO2.用户增长场景(某度信息流)
手机便签应用
Scene function of wooden frame
VM virtual machine configuration dynamic IP and static IP access
数论基础及其代码实现