mysql 删除用户

时间:2021-10-11 16:30:55
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'