public static int add(String name, String sex, String phone, String email, String address){
        name="'"+name+"'";
        sex="'"+sex+"'";
        phone="'"+phone+"'";
        email="'"+email+"'";
        address="'"+address+"'";
        sql="INSERT INTO AddrBook (name,sex,phone,email,address) VALUES " + "(" +
                name + ","+ sex+ ","+phone+ ","+email+ ","+address
                +")";

        DB.sql(sql);

        String sql2= "Select * from AddrBook where name="+name;
        int resultID = -1;
        ResultSet rs=DB.sqlQuery(sql2);

        try {
            while (rs.next()){
                resultID=rs.getInt("ID");
            }
        } catch (SQLException e) {
            e.printStackTrace();
        }
        return resultID;
    }