Unanswered Questions

0

Please login or register to vote for this query.

(click on this box to dismiss)

Get top 10 questions, unanswered, max 1 comment, by users with > 100 reputation, that visited the site in the last 2 months, about asp.net-mvc

Stack Overflow

Q&A for professional and enthusiast programmers

-- Unanswered Questions
-- Get top 10 questions, unanswered, max 1 comment, by users with > 100 reputation, that visited the site in the last 2 months, about asp.net-mvc

SELECT TOP 10 p.Title, 'http://stackoverflow.com/questions/' + CAST(p.Id AS VARCHAR(10)) AS URL, p.Tags,
LEFT(p.Body, 200), p.CreationDate --p.LastActivityDate
FROM dbo.Posts p INNER JOIN dbo.Users u ON p.OwnerUserId = u.Id
WHERE p.Tags LIKE '%asp.net-mvc%'
AND p.CreationDate <= DATEADD(hh, -1, GETDATE())
--AND p.CreationDate >= DATEADD(mm, -1, GETDATE())
AND p.AcceptedAnswerId IS NULL AND p.AnswerCount = 0 AND p.CommentCount <= 1
AND p.ClosedDate IS NULL
--AND u.LastAccessDate >= DATEADD(mm, -3, GETDATE()) AND u.Reputation >= 100
ORDER BY p.CreationDate DESC

Enter Parameters

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