You are viewing a single comment's thread. Return to all comments →
SELECT DISTINCT CITY FROM STATION WHERE MOD(STATION.ID,2)=0;
Duplicate entries can be removed by using DISTINCT and for checking whether the ID is odd or even , we use MOD() in SQL
Seems like cookies are disabled on this browser, please enable them to open this website
Weather Observation Station 3
You are viewing a single comment's thread. Return to all comments →
SELECT DISTINCT CITY FROM STATION WHERE MOD(STATION.ID,2)=0;
Duplicate entries can be removed by using DISTINCT and for checking whether the ID is odd or even , we use MOD() in SQL