Get comments to users' first question posts

1

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 c.PostId, c.Score, c.CreationDate
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 Comments as c on c.PostId = p.Id
where
  convert(date, p.CreationDate) >= convert(date, ##Start:string##)
  AND convert(date, p.CreationDate) <= convert(date, ##End:string##)
  AND p.PostTypeId = 1

Enter Parameters

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