Question: What are the average salaries in dollar and the average years of work experience by programming language?
SQL:
SELECT Languages.name, AVG(Responses.ConvertedCompYearly), AVG(Responses.WorkExp) FROM Responses JOIN Response_LanguageHaveWorkedWith ON Response_LanguageHaveWorkedWith.Response_id = Responses.id JOIN Languages ON Languages.id = Response_LanguageHaveWorkedWith.Languages_id GROUP BY Languages.name