Q&A for those interested in the geology, meteorology, oceanography, and environmental sciences
SELECT pq.Id, pq.Title, pq.Body, pq.Tags, pa.Body as AcceptedAnswer FROM posts pq JOIN posts pa ON pq.AcceptedAnswerId = pa.Id WHERE pq.PostTypeId = 1 AND -- Questions -- pq.CreationDate BETWEEN '01-JAN-2015' AND '01-JAN-2024' AND -- Time pq.AcceptedAnswerId IS NOT NULL -- Have accepted answer