JAVA - Population Database
CreateCityDB.java @ http://www.datafilehost.com/download-39868b74.html
Compile and run the CreateCityDB program. The program will create a Java DB database named cityDB. The CityDB database will have a table named City with the following columns:
Column Name Data Type
CityName CHAR (50)
Primary Key
Population Double
The CityName column stores the name of a city and the Population column stores the population of that city. After you run the CreateCityDB.Java program, the City table will contain 20 rows with various cities and their populations.
Next, write a program that connects to the CityDB database, and allows the user to select any of the following operations:
Sort the list of cities by population, in ascending order.
Sort the list of cities by population, in descending order.
Sort the list of cities bv name.
Get the total population of all the cities.
Get the average population of all the cities.
Get the highest population.
Get the lowest population
13 years ago
10
Purchase the answer to view it

- java_db.zip
- Sound slp
- Question 1 In most health care firms, purchasing power gains result because of what reason? Answer A. Monetary...
- please help solve
- econ question
- account5
- Jennifer Kent receives 24 paychecks each year. Each check is for $863.50 before deductions. What is Jennifer's monthly salary?
- Find a polynomial of degree 5 with real coefficients and "i" as a root of multiplicity 2 and the square...
- The scale factor of two similar triangle is 4:5. If one angle of the smaller triangle measures 60 degrees, what...
- alice invested 3,000 at a rate of 4 percent per year. How much interest will she receive after 5 years?
- Quiz 4 - Week 4