Question: Which industries have at least 10% of the Individual Contributors working in?
SQL:
SELECT Industry, percentage FROM (SELECT Industry, COUNT(Industry) * 100.0 / SUM(COUNT(Industry)) OVER () AS percentage FROM Responses WHERE NOT Industry IS NULL AND IndividualContributorOrPeopleManager = 'Individual contributor' GROUP BY Industry) WHERE percentage >= 10.
SELECT Industry, COUNT(*) AS Total FROM Responses WHERE IndividualContributorOrPeopleManager = 'Individual contributor' GROUP BY Industry HAVING Total >= (SELECT COUNT(*) * 0.1 FROM Responses WHERE IndividualContributorOrPeopleManager = 'Individual contributor')