sql2 (Answers)
sql2 (Answers)
https://www.youtube.com/watch?v=jczx_0L1PaQ
https://www.appserv.org/en/download/
############################################################################
Q1:Query all columns (attributes) for every row in the CITY table.
Q3:Query the NAME field for all American cities in the CITY table with populations
larger than 1200000.
Q4:Query all attributes of every Japanese city in the CITY table. The COUNTRYCODE
for Japan is JPN.
Q6:Query the CountryCode field for all cities in the CITY table with populations
smaller than 8982000
and larger than 3137000 in any order, but exclude duplicates.
Q8:Find the difference between the total number of CountryCode entries in the table
and the number of distinct CountryCode entries in the table.
Q10:Find the total population for each country based on their 'CountryCode' .
In operator: