SELECT a.Id AS [Post Link], a.Body FROM Posts a INNER JOI...

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 a.Id AS [Post Link], a.Body
FROM Posts a 
INNER JOIN Posts q ON q.Id = a.ParentId
WHERE a.PostTypeId = 2
  AND LEN(a.Body) < 200
  AND q.ClosedDate IS NULL
  AND a.Body LIKE '%youtube.com%'
  AND a.Body LIKE '%video%'

Enter Parameters

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