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
|
669 Discussions
|
Please Login in order to post a comment
SELECT NAME FROM CITY WHERE CountryCode = 'USA' AND POPULATION > 120000;
SELECT NAME FROM CITY WHERE POPULATION > 120000 AND COUNTRYCODE='USA';
select name from city where population>120000 and countrycode='USA';
In this we have to query only name, on condition of POPULATION and COUNTRYCODE.
SELECT NAME FROM CITY WHERE POPULATION > 120000 AND COUNTRYCODE = 'USA';
SELECT NAME FROM CITY WHERE CountryCode = 'USA' AND Population > 120000;