Revising the Select Query II – Hacker Rank Solution

 





Problem

Query the names of all American cities in CITY with populations larger than 120000. The CountryCode for America is USA.

Input Format





The CITY table is described as follows: 



Revising the Select Query II – Hacker Rank Solution

Code:

SELECT NAME FROM CITY WHERE COUNTRYCODE = 'USA' AND POPULATION >120000;

Disclaimer: The above Problem (Revising the Select Query II ) is generated by Hackerrank but the Solution is Provided by MultiplexCoder. This tutorial is only for Educational and Learning purposes. Authority if any of the queries regarding this post or website fill the following contact form thank you.

Previous
Next Post »