Weather Observation Station 3

Sort by

recency

|

1894 Discussions

|

  • + 0 comments

    select distinct(city) from station where id%2=0;

  • + 0 comments

    SELECT CITY FROM STATION WHERE MOD(ID,2)=0 GROUP BY CITY

  • + 0 comments

    doesn't it work?

    SELECT CITY FROM STATION WHERE MOD(ID,2)=0 ORDER BY CITY ASC

  • + 0 comments

    For MySQL

    SELECT DISTINCT city FROM station
    WHERE id % 2 = 0;
    
  • + 0 comments

    select distinct (city) from station where id%2=0;