Q&A about the site for professionals in medical and allied health fields, students of those professions, related academics, and others with a sound understanding of medicine and healthcare-related sciences
select top 10000 p.Id, p.Title, p.Score, p.Body as Question, a.Body as Answer
from Posts p
join Posts a on p.AcceptedAnswerid = a.Id
where p.PostTypeId = 1
and p.Body like '%<pre%'
and p.Body like '%.%Exception:%'
and p.Tags like '%java%'
and p.Title like '%Exception%'
and p.Score > 0