What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-16 06:41:15
Query the list of CITY names from STATION that either do not start with vowels or do not end with vowels. Your result cannot contain duplicates.
SELECT DISTINCT CITY FROM STATION WHERE LOWER(SUBSTR(CITY,1,1)) NOT IN ('a','e','i','o','u') AND LOWER(SUBSTR(CITY,LENGTH(CITY),1)) NOT IN ('a','e','i','o','u'); Add solution -
SQL 2021-11-13 19:23:21
postgresql distinct
SELECT DISTINCT bcolor FROM distinct_demo ORDER BY bcolor; Add solution