We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Weather Observation Station 3
Weather Observation Station 3
Sort by
recency
|
1983 Discussions
|
Please Login in order to post a comment
SELECT DISTINCT CITY FROM STATION WHERE (ID%2)=0; // for mysql
why MOD(id,2) = 0;
what does the (id,2) = 0; means?
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.
SELECT DISTINCT city FROM station WHERE MOD(id, 2) = 0;
SELECT DISTINCT CITY FROM STATION WHERE ID %2 =0 ;