问题:
U盘在Windows上使用正常,在linux下无法使用fdisk -l 命令提示:Partition table entries are not in disk order
$ fdisk -l Disk /dev/sdb: 525 MB, 525336576 bytes
17 heads, 59 sectors/track, 1022 cylinders
Units cyl…
case when 在sql 中非常方便数据不同维度统计,但是也会出现mysql 索引不命中问题,当多个case 出现时,需要提取出来到where里面优化
优化后
SELECT date(RecordTime) AS date, count( DISTINCT CASE WHEN Param 1 …