Q&A for users, experts, and developers of the Tezos blockchain project
select s.PostId, s.CreationDate, s.ApprovalDate, s.RejectionDate 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 SuggestedEdits as s on s.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