teste

0

Please login or register to vote for this query.

(click on this box to dismiss)

Craft CMS Meta

Q&A about the site for administrators, end users, developers and designers for Craft CMS

select Year(Users.CreationDate), Month(Users.CreationDate), COUNT(Users.Id)
from Users 
join Posts on Users.Id=Posts.OwnerUserId
where ((Month(Users.LastAccessDate)+ Year(Users.LastAccessDate) *12) 
- (Month(Users.CreationDate)+ Year(Users.CreationDate) *12) < 1) 
group by Year(Users.CreationDate), Month(Users.CreationDate)
order by Year(Users.CreationDate), Month(Users.CreationDate)

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results