Question: How many people learning to code want to use which tool and what are they currently using?
SQL:
SELECT TechTools1.name AS have_worked_with, TechTools2.name AS want_to_work_with, COUNT(*) FROM Response_ToolsTechHaveWorkedWith JOIN TechTools AS TechTools1 ON Response_ToolsTechHaveWorkedWith.TechTools_id = TechTools1.id JOIN Response_ToolsTechWantToWorkWith ON Response_ToolsTechWantToWorkWith.Response_id = Response_ToolsTechHaveWorkedWith.Response_id JOIN Responses ON Response_ToolsTechWantToWorkWith.Response_id = Responses.id JOIN TechTools AS TechTools2 ON Response_ToolsTechWantToWorkWith.TechTools_id = TechTools2.id WHERE Responses.ResponderDescription = 'I am learning to code' GROUP BY TechTools1.name, TechTools2.name