You don't need the "AND id_member ..." line here since you have the same thing on the line above.