为什么80%的码农都做不了架构师?>>> select * from test group by time having count(time)>1; select * from test group by left(time,2); select * from test group by name,time; select from_unixtime(time,'%Y%m%d'),id,name from test; 转载于:https://my.oschina.net/0815/blog/65039