We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
to those this query is not working with floor() function
please check which join you are using if you are using left join it'll not work... Here Inner join will be used because you want population avg for continents and it should match in both tables-[ continents in country table must have population of cities in city table, if no population it'll be NULL]... Hope it will help
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Average Population of Each Continent
You are viewing a single comment's thread. Return to all comments →
to those this query is not working with floor() function please check which join you are using if you are using left join it'll not work... Here Inner join will be used because you want population avg for continents and it should match in both tables-[ continents in country table must have population of cities in city table, if no population it'll be NULL]... Hope it will help