SELECT p.Id as DuplicateId, Score, ViewCount, Body, Title...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Arduino

Q&A for developers of open-source hardware and software that is compatible with Arduino

--SELECT 
--s1.*,
--p2. Title as OriginalTitle,
--p2.body as OriginalBody
--FROM (
  SELECT
    p.Id as DuplicateId,
    Score,
    ViewCount,
    Body,
    Title,
    Tags,
    AnswerCount,
    u.Id as DuplicateUserId,
    Reputation,
    TRIM('[]' FROM
      JSON_QUERY(Text, '$.OriginalQuestionIds')
    ) AS OriginalId,
    Comment
  FROM
    Posts p JOIN Users u
      ON  p.OwnerUserId = u.Id
  JOIN
    PostHistory PH 
      ON PH.PostId = p.Id
      AND Comment = '101'
  WHERE
     p.tags LIKE '%python-3.x%'
     AND p.tags LIKE '%pandas%'
     AND p.CreationDate >= '2015-01-01'
--)s1 JOIN Posts p2
--ON p2.Id = TRIM(' \'[]\'' FROM s1.OriginalId)

Enter Parameters

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