I am trying to have this code run and delete a certain record in a MySQL database but I get this error:
SQLException: Can not issue data manipulation stateme
Use execute instead of executeQuery.
execute
executeQuery
As far as I know, executeQuery must be used if you are executing a query that returns a resultset (select for example).
select