HackerRank MySQL - Revising the Select Query II

Rohit S. Pathak



Problem Statement

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

Revising the Select Query I

Solution

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



Disclaimer: The above Problemis generated by HackerRank but the Solution is Provided by boxessolved. 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.