Finding bad answers through comments


Please login or register to vote for this query.

(click on this box to dismiss)

A lexical search method


Q&A for those committed to a vegan or vegetarian lifestyle and anyone interested in learning more

-- Finding bad answers through comments
-- A lexical search method

SELECT TOP 1000  c.Id AS [Comment Link],
YEAR(C.CreationDate) AS Year, 
Month(C.CreationDate) AS Month, 
P.LastEditDate as DateTime,
c.text AS Body
FROM Comments C, Posts P
Where (
(C.Text LIKE '%tex %' or C.Text LIKE '%LaTeX%') and (C.Text LIKE '%read%' or C.Text LIKE '%use%' ) AND
  C.PostID = P.ID AND
  P.ClosedDate IS NULL
Order By Year, Month

Enter Parameters

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