上一月(上月的今天至今天):
select * from art where [now] between dateadd("m",-1,now()) and now()
上一月(1号至最后一天):
select * from art where [now] between dateserial(year(now),month(now())-1,1) and dateserial(year(now),month(now()),1-1)
select top 10 * from user order by nowtime desc
按nowtime 倒序显示最前面的10个用户. desc 倒序,即最新的在上面!
up!!