Comments moved to chat

0

Please login or register to vote for this query.

(click on this box to dismiss)

Electrical Engineering

Q&A for electronics and electrical engineering professionals, students, and enthusiasts

SELECT COALESCE((SELECT Posts.Title FROM Posts WHERE Id = Comments.PostId),
(SELECT p2.Title FROM Posts p1,Posts p2 WHERE p1.Id = Comments.PostID
AND p2.Id = p1.ParentId)) AS Title,
    SUBSTRING(Comments.Text, 43, LEN(Comments.Text) - 45) AS Link
  FROM Comments 
 WHERE Comments.Text LIKE 'Let us [[]continue this discussion in chat%'
 ORDER BY 1

Enter Parameters

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