``` public void deleteData() throws Exception { ...
# announcements
h
Copy code
public void deleteData() throws Exception {
        String sql = "delete from peserta where email = '<mailto:uzumaki_naruto@gmail.com|uzumaki_naruto@gmail.com>'";
        try (Connection c = ds.getConnection()) {
            c.createStatement().executeUpdate(sql);
        }
    }