Question: Which IDEs do people want to keep using in %?
SQL:
SELECT NewCollabTools.name, COUNT(NewCollabTools.id) * 100.0 / count2 FROM NewCollabTools JOIN Response_NEWCollabToolsHaveWorkedWith ON Response_NEWCollabToolsHaveWorkedWith.NewCollabTools_id = NewCollabTools.id JOIN Response_NEWCollabToolsWantToWorkWith ON Response_NEWCollabToolsWantToWorkWith.Response_id = Response_NEWCollabToolsHaveWorkedWith.Response_id AND Response_NEWCollabToolsWantToWorkWith.NewCollabTools_id = NewCollabTools.id JOIN (SELECT NewCollabTools.name AS name2, COUNT(NewCollabTools.id) AS count2 FROM NewCollabTools JOIN Response_NEWCollabToolsHaveWorkedWith ON Response_NEWCollabToolsHaveWorkedWith.NewCollabTools_id = NewCollabTools.id GROUP BY NewCollabTools.id) ON NewCollabTools.name = name2 GROUP BY NewCollabTools.id