Question: How many respondents in percent want to keep using the AI developer tools they are currently using and which AI tools are those?
SQL:
SELECT AIDev.name, COUNT(AIDev.id) * 100.0 / count2 FROM AIDev JOIN Response_AIDevHaveWorkedWith ON Response_AIDevHaveWorkedWith.AIDev_id = AIDev.id JOIN Response_AIDevWantToWorkWith ON Response_AIDevWantToWorkWith.Response_id = Response_AIDevHaveWorkedWith.Response_id AND Response_AIDevWantToWorkWith.AIDev_id = AIDev.id JOIN (SELECT AIDev.name AS name2, COUNT(AIDev.id) AS count2 FROM AIDev JOIN Response_AIDevHaveWorkedWith ON Response_AIDevHaveWorkedWith.AIDev_id = AIDev.id GROUP BY AIDev.id) ON AIDev.name = name2 GROUP BY AIDev.id