We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Revising the Select Query II
Revising the Select Query II
+ 0 comments Microsoft SQL Server Code
SELECT NAME FROM CITY WHERE COUNTRYCODE = 'USA' AND POPULATION > 120000;
+ 2 comments Can anyone tell why can we not use having here
+ 0 comments MYSQL SOLUTION
SELECT NAME FROM CITY WHERE COUNTRYCODE = 'USA' && POPULATION > 120000
+ 0 comments select name from city where population>120000 and countrycode="usa"
+ 0 comments Got it in the first try with
select name from city where population > 120000 and countrycode = 'USA';
Load more conversations
Sort 446 Discussions, By:
Please Login in order to post a comment