Question: What is the average number of years the respondents who are professional coders have been coding by country?
SQL:
SELECT Country, AVG(YearsCodePro) FROM Responses WHERE NOT Country IS NULL GROUP BY Country
SELECT Country, AVG(YearsCode) AS Average_Years_Coding FROM Responses WHERE ResponderDescription = 'I am a developer by profession' GROUP BY Country