What are the most viewed questions for a given tag (+date)?

0

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Ubuntu Meta

Q&A about the site for Ubuntu users and developers

DECLARE @lastDate DATE = ( 
	select MAX(CreationDate) 
	from Posts 
)
select @lastDate

select top 10 ViewCount, Title
from Posts 
where CreationDate = @lastDate
and ViewCount > 0
order by ViewCount desc

Enter Parameters

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