- get connection information from user input
- connect DB
- check DB table
- clear table if non-empty
- populate table|insert nItemsTotal items into it
- store table to|as XML file
- read and modify stored file using XSLT
- save modified data in a separate file
- read attributes from last file
- output attributes sum (aggregate by field)
to a console as a (final) result
(overall) running time
for rows|items total <= pow( 10, 6 )
must be|expected to be <=|less then 5 minutes