mysql按時,天,月,年統計數據

時間戳方式 按照小時分組web Select count(*) as count,date_format(FROM_UNIXTIME(createtime),’%Y-%m-%d %H’) as createdate from xtable group by createdate 按照天分組sql Select count(*) as count,date_format(FROM_UNIXTIME(
相關文章
相關標籤/搜索