Which weakness types account for the most exploited CVEs?
SELECT cwe_id, SUM(exploited) AS exploited_cves FROM demo.security.vendor_weaknesses WHERE cwe_id NOT IN ('NVD-CWE-noinfo', 'NVD-CWE-Other') GROUP BY cwe_id ORDER BY exploited_cves DESC, cwe_id LIMIT 10