Weather Observation Station 3

Sort by

recency

|

1861 Discussions

|

  • + 0 comments

    Query a list of CITY names from STATION for cities that have an even ID number. Print the results in any order, but exclude duplicates from the answer.

  • + 1 comment

    Hi, i don't really understand why we're using the modulo in this case, can someone explain pls ?

  • + 0 comments

    SELECT DISTINCT CITY FROM STATION WHERE MOD(ID,2)=0;

  • + 0 comments

    ngoccth_SQL SERVER: SELECT DISTINCT city FROM Station WHERE id%2 = 0

  • + 0 comments

    The easy way is this Select Distinct(CITY) from STATION Where ID%2 = 0