java - ResultSet and the SQL functions -
i using derby database, , know something: resultset
table? if so, means invoke min(resultset.somecolumn)
(or max()
or avg()
), right? or have dump resultset
temporary table use desired sql functions?
from official documentation , resultset is:
a table of data representing database result set, generated executing statement queries database.
if want apply aggregate function, have modify sql statement , re-execute it. finally, provided resultset (eventhough may contain single row).
Comments
Post a Comment