Question: How much do people who responded to this survey want to keep using their current synchronous communication tools in % and which tools are they?
SQL:
SELECT OfficeStackSync.name, COUNT(OfficeStackSync.id) * 100.0 / count2 FROM OfficeStackSync JOIN Response_OfficeStackSyncHaveWorkedWith ON Response_OfficeStackSyncHaveWorkedWith.OfficeStackSync_id = OfficeStackSync.id JOIN Response_OfficeStackSyncWantToWorkWith ON Response_OfficeStackSyncWantToWorkWith.Response_id = Response_OfficeStackSyncHaveWorkedWith.Response_id AND Response_OfficeStackSyncWantToWorkWith.OfficeStackSync_id = OfficeStackSync.id JOIN (SELECT OfficeStackSync.name AS name2, COUNT(OfficeStackSync.id) AS count2 FROM OfficeStackSync JOIN Response_OfficeStackSyncHaveWorkedWith ON Response_OfficeStackSyncHaveWorkedWith.OfficeStackSync_id = OfficeStackSync.id GROUP BY OfficeStackSync.id) ON OfficeStackSync.name = name2 GROUP BY OfficeStackSync.id