You can create a Statement from a Connection
We access data from a MySQL database. We use the table bbc which contains details of countries of the world.
Change the program so that shows name and population for 'Brazil'
The call cursor.next() returns a value. It is true if there
is another row to be processed, it returns false when the end of the
result set has been reached.
Change the program so that shows name for all the countries of 'South America'
You can calculate totals in SQL - but for this question please use Java to do the addition.
Find the total population of South America.