From 8cdcd5986221f1c992dee0ca49541adbfcc3406c Mon Sep 17 00:00:00 2001 From: Nandana Santhosh Date: Wed, 7 Feb 2024 09:42:23 +0530 Subject: [PATCH] Update Weather Observation Station 6.sql --- SQL/Select/Weather Observation Station 6.sql | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/SQL/Select/Weather Observation Station 6.sql b/SQL/Select/Weather Observation Station 6.sql index a428b35..99f268e 100644 --- a/SQL/Select/Weather Observation Station 6.sql +++ b/SQL/Select/Weather Observation Station 6.sql @@ -17,6 +17,4 @@ Write a query to print the list of CITY that start with vowels in lexicographica --Solution -SELECT CITY -FROM STATION -WHERE CITY Like '[AEIOU]%'; +SELECT DISTINCT city FROM station WHERE city LIKE "A%" OR city LIKE "E%" OR city LIKE "I%" OR city LIKE "O%" OR city LIKE "U%";