architecture diagram

0

Please login or register to vote for this query.

(click on this box to dismiss)

Mythology Meta

Q&A about the site for enthusiasts and scholars of mythology and folklore

SELECT 
  p.Id AS [Post Link],
  p.Title,
  p.Score,
  p.ViewCount,
  p.CreationDate,
  p.Tags,
  CASE p.PostTypeId 
    WHEN 1 THEN 'Question'
    WHEN 2 THEN 'Answer'
  END AS PostType,
  LEFT(p.Body, 200) + '...' AS BodyPreview
FROM 
  Posts p
WHERE 
  (p.Title LIKE '%architect%' 
   OR p.Body LIKE '%architect%')
  AND p.PostTypeId IN (1, 2)  -- Only questions and answers
  AND p.CreationDate >= DATEADD(MONTH, -1, GETDATE())  -- Last 6 months only
  AND p.Score >= 0  -- Include all non-negative scored posts
ORDER BY 
  p.Score DESC,
  p.CreationDate DESC

Enter Parameters

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