Question: How many developers want to use which web framework or technology and what are they currently using?
SQL:
SELECT WebFrameworks1.name AS have_worked_with, WebFrameworks2.name AS want_to_work_with, COUNT(*) FROM Response_WebframeHaveWorkedWith JOIN WebFrameworks AS WebFrameworks1 ON Response_WebframeHaveWorkedWith.WebFrameworks_id = WebFrameworks1.id JOIN Response_WebframeWantToWorkWith ON Response_WebframeWantToWorkWith.Response_id = Response_WebframeHaveWorkedWith.Response_id JOIN WebFrameworks AS WebFrameworks2 ON Response_WebframeWantToWorkWith.WebFrameworks_id = WebFrameworks2.id GROUP BY WebFrameworks1.name, WebFrameworks2.name