Query all columns for all American cities in CITY with populations larger than 100000
. The CountryCode for America is USA
.
SELECT * FROM CITY WHERE COUNTRYCODE = ‘USA‘ AND POPULATION > 100000;
Query the names of all American cities in CITY with populations larger than 120000
. The CountryCode for America is USA
.
SELECT NAME FROM CITY WHERE COUNTRYCODE = ‘USA‘ AND POPULATION > 120000;
原文:https://www.cnblogs.com/wzs-python/p/11211769.html