SELECT FROM_UNIXTIME( UNIX_TIMESTAMP(upload_time),'%Y') years,COUNT(*) FROM appinfo where app='APP1' GROUP BY years
本文标题:MySQL按年统计SQL语句
本文链接:https://www.haomeiwen.com/subject/mqmrqdtx.html
网友评论