String sql = "delete from user where id="+id; //not String sql = "delete from user where id="+id; delete not delect