Query all columns for all American cities in the CITY table with populations larger than 100000
. The CountryCode for America is USA
.
Aug 22, 2023
The CITY table is described as follows:
You can use the following SQL query to retrieve all columns for American cities in the CITY
table with populations larger than 100,000:
SELECT *
FROM CITY
WHERE CountryCode = 'USA' AND Population > 100000;
This query selects all columns (*
) from the CITY
table where the CountryCode
is 'USA' and the Population
is greater than 100,000. This will give you the details of all American cities in the CITY
table that meet the specified population condition.