Q&A for Drupal developers and administrators
SELECT (SELECT COUNT(*) FROM Posts WHERE PostTypeId = 1 AND AcceptedAnswerId IS NOT NULL) * 100.0 / COUNT(*) AS PercentageWithAcceptedAnswer FROM Posts WHERE PostTypeId = 1;