CSCW user posts by age


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select top 100 u.age user_age, user_id, ans_id,  
posts.score ans_score, posts.body ans_body
from users u, posts
u.age = 70
and u.reputation between 2 and 100000
and in 
  (select owneruserid from 
      (select owneruserid from posts where owneruserid = posts.owneruserid
group by owneruserid having count(*) >= 10
      ) X
and in (select top 10 id from posts where
order by user_age, user_id

Enter Parameters

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