I\'m trying to return a value from a select statement. Its only one value because the value I\'m returning is from the primary key column.
The SQL statement is
Use rs.getInt(1) or rs.getString(1) to retrieve the actual value from the ResultSet. Then read a JDBC tutorial.
rs.getInt(1)
rs.getString(1)
ResultSet