Question: For which tasks do developers who are currently using AI tools find those tools most useful?
SQL:
SELECT AIToolUsage.name, COUNT("Response_AIToolCurrentlyUsing".Response_id) * 100.0 / (SELECT COUNT(DISTINCT "Response_AIToolCurrentlyUsing".Response_id) FROM "Response_AIToolCurrentlyUsing") FROM "Response_AIToolCurrentlyUsing" JOIN AIToolUsage ON AIToolUsage.id = "Response_AIToolCurrentlyUsing"."AIToolUsage_id" GROUP BY AIToolUsage.id
SELECT AIToolUsage.Name, COUNT(*) AS Count FROM Response_AIToolCurrentlyUsing JOIN AIToolUsage ON Response_AIToolCurrentlyUsing.AIToolUsage_id = AIToolUsage.id GROUP BY AIToolUsage_id ORDER BY Count DESC