TASK #112 · Medium · DomClickAverage spending in Hamburg
Your brief
Calculate the average spending for each type of event in the city of Hamburg. If some types of events did not occur in this city, then you need to display 0 as the average expenses.
Ctrl / ⌘ + ↵
Result
Write a query and run it to see the results.
Schema
Countriesid, nameRegionsid, name, countryidCitiesid, name, regionid, populationEventTypeid, nameEventsid, cityid, typeid, date, costs