MySQL table summarizes the operating excel

Recently in charge of a project of landing work needs to be exported daily customer contacts registered users statistical regions, using the number of users, number of users is not used, registered users do not meet specifications, etc. operations, beginning the number of users is relatively small, direct screening in excel query on the line, but as the number of users increased to hundreds of thousands, excel screening has been unable to meet demand, to think of all imported into the MySQL database queries, so that played less effective results.

1. The first import excel sheet using MySQL tool Navicat for MySQL, excel spreadsheet for the encoding format UTF-8 format.

I will excel spreadsheet import MySQL db0 library, also you need to set the encoding to UTF-8 format;

mysql> show create database db0;
+----------+--------------------------------------------------------------+
| Database | Create Database                                              |
+----------+--------------------------------------------------------------+
| db0      | CREATE DATABASE `db0` /*!40100 DEFAULT CHARACTER SET utf8 */ |
+----------+--------------------------------------------------------------+
1 row in set (0.00 sec)

 

Guess you like

Origin www.cnblogs.com/saneri/p/11600908.html
Recommended