select * FROM sys_user_role where user_id in( SELECT id FROM sys_user where login_name='17600311226' ) delete FROM sys_user_role where user_id in( SELECT id FROM sys_user where login_name='17600311226' ) delete FROM sys_user where login_name='17600311226'