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.
Revising Aggregations - Averages
Revising Aggregations - Averages
Sort by
recency
|
388 Discussions
|
Please Login in order to post a comment
For MySQL
SELECT AVG(C.POPULATION) AS AVG_POPULATION FROM CITY C WHERE C.DISTRICT = 'California';
mysql:
for oracle
select AVG(population) from CITY where district ='California';
SELECT AVG (POPULATION) FROM CITY WHERE DISTRICT = 'California';