Question: How many developers work in which work environment (remote, hybrid etc.) in %?
SQL:
SELECT RemoteWork, COUNT(RemoteWork) * 100.0 / (SELECT COUNT(RemoteWork) FROM Responses) FROM Responses WHERE NOT RemoteWork IS NULL GROUP BY RemoteWork
SELECT RemoteWork, COUNT(*) * 100.0 / (SELECT COUNT(*) FROM Responses) AS Percentage FROM Responses WHERE NOT RemoteWork IS NULL GROUP BY RemoteWork