3 task (in 1 query)

1

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Different

Q&A for power users of Apple hardware and software

select count(displayname)
from
  (select displayname, min (p.creationdate) as firstdate
  from users u
  join posts p on u.id = p.owneruserid
  where lower(location) like '%russia%' 
    and posttypeid=1
    and p.id in (select postid from posttags where tagid=(select Id from tags where tagname='sql'))
  group by u.displayname
  having year(min (p.creationdate)) = 2015 and month(min (p.creationdate)) = 10
  ) x

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results