Revising Aggregations - Averages

Sort by

recency

|

388 Discussions

|

  • + 0 comments

    For MySQL

    SELECT AVG(population) FROM city
    WHERE district = "california";
    
  • + 0 comments

    SELECT AVG(C.POPULATION) AS AVG_POPULATION FROM CITY C WHERE C.DISTRICT = 'California';

  • + 0 comments

    mysql:

    select avg(population) from city where district = 'California';
    
  • + 0 comments

    for oracle

    select AVG(population) from CITY where district ='California';

  • + 0 comments

    SELECT AVG (POPULATION) FROM CITY WHERE DISTRICT = 'California';