标签:des ar sp on bs ad nbsp sql br
select year(createdate) 年,
month(createdate) 月,
count(1)
from public_cms_arc
where
(userid in
(select id from cms_admin where userid=‘392‘) or userid=‘392‘)
group by year(createdate),
month(createdate)
order by year(createdate) desc,month(createdate) desc
标签:des ar sp on bs ad nbsp sql br
原文地址:http://www.cnblogs.com/xuxiaoshuan/p/4169043.html