SELECT q.Title, q.Body, q.OwnerUserId, q.Tags, q.ViewCount,

0

Please login or register to vote for this query.

(click on this box to dismiss)

English Language and Usage Meta

Q&A about the site for linguists, etymologists, and serious English language enthusiasts

SELECT
    q.Title,
    q.Body,
    q.OwnerUserId,
    q.Tags,
    q.ViewCount,
    a.Body as Answer
FROM
    (SELECT *
     FROM posts
     WHERE 
        (tags LIKE '%algorithm%' OR tags LIKE '%data-structures%')
        AND tags LIKE '%python%'
        AND AcceptedAnswerId > 0
        AND PostTypeId = 1
        AND OwnerUserId > 0
    ) q 
LEFT JOIN 
    (SELECT * FROM posts) a 
ON 
    q.AcceptedAnswerId = a.id;

Enter Parameters

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