execute method can run both select and insert/update statements. executeQuery method execute statements that returns a result set by fetching some data from the database. It executes only select statements.executeUpdate method execute sql statements that insert/update/delete data at the database.