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
Sort by
recency
|
635 Discussions
|
Please Login in order to post a comment
MYSQL : SELECT name FROM city WHERE countrycode = "USA" AND population > 120000; ORACLE : SELECT name FROM city, WHERE countrycode = 'USA' AND population > 120000;
select name from city where countrycode='USA' and population >120000;
For MySQL
For MySQL
Basically in this question we need to find out all the names from the CITY table which are having population > 120000 and countrycode = 'USA' , so here is solution for this query :
SELECT NAME FROM CITY WHERE POPULATION > 120000 AND COUNTRYCODE = 'USA' ;