Weather Observation Station 3

Sort by

recency

|

1983 Discussions

|

  • + 0 comments

    SELECT DISTINCT CITY FROM STATION WHERE (ID%2)=0; // for mysql

  • + 2 comments

    why MOD(id,2) = 0;

    what does the (id,2) = 0; means?

  • + 2 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.

    SELECT DISTINCT CITY FROM STATION WHERE ID % 2 = 0;

    It's wrong, please help me! Many thanks.

  • + 0 comments

    SELECT DISTINCT city FROM station WHERE MOD(id, 2) = 0;

  • + 1 comment

    SELECT DISTINCT CITY FROM STATION WHERE ID %2 =0 ;