Find your comments containing a "monitor"

0

Please login or register to vote for this query.

(click on this box to dismiss)

Biology Meta

Q&A about the site for biology researchers, academics, and students

DECLARE @UserId int = ##UserId##
DECLARE @Offset int = ##Offset##

SELECT
  c.Id, c.CreationDate, c.Score, c.Text,
  q.Title 'Parent Title',
  q.Id 'Parent Id'
FROM Comments c
  INNER JOIN Posts q ON q.Id = c.PostId
WHERE
  c.UserId = @UserId
  AND c.Text LIKE '%monitor%'
ORDER BY
  c.Score DESC
OFFSET ##Offset## ROWS
FETCH NEXT 100 ROWS ONLY

Enter Parameters

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