Q&A for experienced flyers, pilots, and builders of drones and model aircraft
/* select datepart(year,creationdate) Years,OwnerUserId, count(OwnerUserId) NoOfQuestionPost from Posts where OwnerUserId in (SELECT Id FROM users where datepart(year,creationdate) = 2008) and posttypeid = 1 and datepart(year,creationdate) < 2019 group by datepart(year,creationdate), OwnerUserId having count(*) >5 order by datepart(year,creationdate), OwnerUserId */ select datepart(year,creationdate) Years, count(*) PostedQuestionsOf2015UsersYearly from Posts where OwnerUserId in (SELECT Id FROM users where datepart(year,creationdate) = 2015) and posttypeid = 1 and datepart(year,creationdate) between 2015 and 2018 group by datepart(year,creationdate) having count(*) >5