Weather Observation Station 10

Sort by

recency

|

2259 Discussions

|

  • + 0 comments

    query is correct if your testcase is failed then run it again

    SELECT Distinct city from STATION where RIGHT(city,1) NOT IN ('a','e','i','o','u');

  • + 0 comments

    SELECT DISTINCT CITY FROM STATION WHERE RIGHT(CITY, 1) NOT IN ('A','E','I','O','U')

  • + 0 comments

    SELECT DISTINCT CITY FROM STATION WHERE UPPER(SUBSTR(CITY, LENGTH(CITY), 1)) NOT IN ('A','E','I','O','U');

  • + 0 comments
    SELECT DISTINCT(city)
    FROM station
    WHERE city NOT LIKE '%a' AND city NOT LIKE '%e' AND city NOT LIKE '%i' AND city NOT LIKE '%o' AND city NOT LIKE '%u' ;
    
  • + 0 comments

    MySQL - SELECT DISTINCT(city) FROM station WHERE city REGEXP '[^aeiou]$'