摘要: 官方网站:http://echarts.baidu.com 阅读全文
posted @ 2017-12-14 16:43 bubuchu 阅读(233) 评论(0) 推荐(0) 编辑
摘要: %M 月名字(January……December) %W 星期名字(Sunday……Saturday) %D 有英语前缀的月份的日期(1st, 2nd, 3rd, 等等。) %Y 年, 数字, 4 位 %y 年, 数字, 2 位 %a 缩写的星期名字(Sun……Sat) %d 月份中的天数, 数字( 阅读全文
posted @ 2017-12-14 16:40 bubuchu 阅读(510) 评论(0) 推荐(0) 编辑
摘要: 按年汇总,统计:select sum(mymoney) as totalmoney, count(*) as sheets from mytable group by date_format(col, '%Y');按月汇总,统计: select sum(mymoney) as totalmoney, 阅读全文
posted @ 2017-12-14 11:49 bubuchu 阅读(529) 评论(0) 推荐(0) 编辑
摘要: select * from table where field is null 阅读全文
posted @ 2017-12-14 11:45 bubuchu 阅读(125) 评论(0) 推荐(0) 编辑