count the number of records for each in java code example
Example: number of records in a resultset
resultSet.last();
rows = resultSet.getRow();
resultSet.beforeFirst();
return resultSet;
resultSet.last();
rows = resultSet.getRow();
resultSet.beforeFirst();
return resultSet;