Blogger Information
Blog 24
fans 0
comment 0
visits 21947
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
反复测试解决了excel日期导入mysql显示0000-00-00的问题
Technical的博客
Original
3400 people have browsed it

以后好像总结过这个,这次在excel日期中先设置为标准日期,再改为常规,在mysql中使用date格式 ,

导入即可。

常规导入mysql即没有问题,这一次我将中文字段名全部改为了 英文字段名以备以后的数据模型使用。

SELECT

`name`as'填报人',

avg(char_total) AS '平均字数',

count('name') AS '填报计数'

FROM

dailywork

GROUP BY

`name`

HAVING COUNT(`name`)>100

ORDER BY 

avg(char_total) DESC

LIMIT 10


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post