How do i retrieve the value returned from an aggregate function in JDBC?
rs = executeQuery ("Select Sum(X) from table));
how do i retrive the value from the resultset? For integer, i have rs.getInt("columnName"). Similary i have for string,date ,etc.
What do i mention in the column name??