Revising Aggregations - The Count Function

Sort by

recency

|

493 Discussions

|

  • + 0 comments

    MySQL:

    SELECT COUNT(ID) FROM CITY WHERE POPULATION > 100000

  • + 0 comments

    I gave write at beginning but it didn't take

  • + 0 comments

    select count(name) from CIty where population>100000

  • + 0 comments

    SELECT COUNT(NAME) AS COUNT_CITY FROM CITY WHERE POPULATION > 100000;

  • + 0 comments

    for sql server

    with cte_city(col1) as (select count(id) from city where population > 100000) select * from cte_city