문제8 - Weather Observation Station 1
MySQL, Oracle, DB2, MS SQL Server
select city, state from station;
문제9 - Weather Observation Station 3
MySQL, MS SQL Server
select distinct city from station where id % 2 = 0;
Oracle, DB2
select distinct city from station where mod(id,2)=0;
문제10 - Weather Observation Station 4
MySQL,Oracle, DB2, MS SQL Server
select count(city) - count(distinct city) from station;
Share article