Get user information for users who first posted a question during specific time period


Please login or register to vote for this query.

(click on this box to dismiss)

Reverse Engineering Meta

Q&A about the site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation

select u.Id, u.Reputation, u.CreationDate, u.DisplayName, u.LastAccessDate, p.Id
from (
  select OwnerUserId, MIN(CreationDate) as firstdate
  from Posts
  group by OwnerUserID ) as latest
  inner join Posts as p on p.OwnerUserId = latest.OwnerUserId and p.CreationDate = latest.firstdate
  inner join Users as u on u.Id = p.OwnerUserId
  convert(date, p.CreationDate) >= convert(date, ##Start:string##)
  AND convert(date, p.CreationDate) <= convert(date, ##End:string##)
  AND p.PostTypeId = 1

Enter Parameters

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