SELECT TOP 50 *, 'https://stackoverflow.com/questions/' +...

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 TOP 50
  *,
  'https://stackoverflow.com/questions/' + CAST(Posts.Id AS nvarchar) AS PostLink
FROM POSTS
	JOIN PostTags ON PostTags.PostId = Posts.ParentId
	JOIN Tags ON Tags.Id=PostTags.TagId
WHERE 
	Posts.PostTypeId = 2
  AND Tags.TagName = 'machine-learning'
  AND Posts.Body LIKE '%<img%' 
ORDER BY Score DESC

Enter Parameters

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