Review types, count, first review id

0

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 rtt.Id, rtt.Name, count(rt.Id) as Number, min(rt.Id) as FirstId, min(rt.CreationDate) as First from
ReviewTasks rt
inner join ReviewTaskTypes rtt on rt.ReviewTaskTypeId = rtt.Id
group by rtt.Id, rtt.Name
order by 1

Enter Parameters

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