There was a problem: I can not get the number from the SQL query. There is a request:
SELECT COUNT (*) FROM first; In theory, it should return the number of rows in the table that I can write to a variable. But .exequteXXX(...); methods .exequteXXX(...); I did not call this request, either writes an error or does not return anything:
int c = three.statem.executeUpdate("SELECT COUNT (*) FROM first;"); Tell me, how can I make the query return a number?