Weather Observation Station 7

Sort by

recency

|

3023 Discussions

|

  • + 0 comments

    select distinct city from station where lower(right(city,1)) in ('a','e','i','o','u');

  • + 0 comments

    cara 1: SELECT DISTINCT city FROM station WHERE RIGHT (city, 1) IN ('A', 'E', 'I', 'O', 'U');

    cara 2: SELECT DISTINCT city FROM station WHERE city REGEXP '[aeiou]$';

  • + 0 comments

    oracle sql, used group by city insted of distinct city, I don't know reason but I looked funny so I added it.

    select city from station where lower(substr(city,-1,1)) in ('a','e','i','o','u') group by city;

  • + 0 comments

    For MYSQL

    select distinct city from station
    where right(city, 1) in ("a", "e", "i", "o", "u")
    and lat_n = 0 < lat_n < 90
    and long_w = 180 < long_w < 180
    
  • + 0 comments

    select distinct city from station where lower(right(city,1)) in ("a","e","i","o","u")