instruction: 5000 newest answers to bad questions.
response: SELECT CASE WHEN q.AcceptedAnswerId = a.Id THEN 1 ELSE 0 END AS "accepted", a.Score AS "score", a.Id AS "post_link", q.ClosedDate AS "date_closed", a.CreationDate AS "date_posted" FROM Posts AS a INNER JOIN Posts AS q ON a.ParentId = q.Id WHERE NOT q.ClosedDate IS NULL AND NOT EXISTS(SELECT 1 FROM PostHistory WHERE PostId = q.Id AND CreationDate = q.ClosedDate AND PostHistoryTypeId = 10 AND Comment IN (101, 1)) ORDER BY q.CreationDate DESC LIMIT 5000