test

0

Please login or register to vote for this query.

(click on this box to dismiss)

Amateur Radio

Q&A for amateur radio enthusiasts

/*SELECT  TOP 100 * /*p.Title, p.Id, p.Score, p.ViewCount, u.DisplayName 
FROM Posts p
JOIN Users u ON p.OwnerUserId = u.Id
WHERE p.PostTypeId = 1
AND p.Score >= 25*/

/*FROM Posts p
JOIN Users u ON p.OwnerUserId = u.Id
JOIN Posts a on p.Id = a.ParentId*/

/*JOIN SuggestedEdits s ON p.Id = s.PostId*/
/*JOIN Comments c ON c.PostId = p.Id*/
/*FULL OUTER JOIN Posts p2 ON p2.ParentId = p.AcceptedAnswerId*/
/*WHERE p.PostTypeId = 1 AND p.Tags IS NOT NULL*/

/*WHERE  p.Tags IS NOT NULL
ORDER BY p.Id,p.Score DESC*/

/*
union all

SELECT TOP 10  *
FROM Posts p
JOIN Users u ON p.OwnerUserId = u.Id
JOIN SuggestedEdits s ON p.Id = s.PostId*/
/*FULL OUTER JOIN Posts p2 ON p2.ParentId = p.AcceptedAnswerId*/
/*WHERE p.PostTypeId = 2 AND p.Tags IS NOT NULL*/

/*

SELECT TOP 10 *
FROM Posts*/


SELECT top 200 p.Title, p.Id, p.Score, a.Score AS "Accepted Score", 
u.DisplayName AS "Asker", au.DisplayName AS "Answerer",p.AnswerCount,a.Body
  
FROM Posts p
JOIN Posts a ON p.AcceptedAnswerId = a.Id
JOIN Users u ON p.OwnerUserId = u.Id
JOIN Users au ON a.OwnerUserId = au.Id
WHERE p.PostTypeId = 1
AND p.Score >= 25
and p.AcceptedAnswerId IS NOT NULL
ORDER BY p.Score DESC

Enter Parameters

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