mysql if update_使用IF条件的MySQL更新
I'm not even sure if this is possible but I'm trying to do different UPDATE if a certain condition is met.user [id, start_date(NOT NULL), end_date(NULL), reason(NULL), .....]user_roles [id, role_id, ...