after an oversight i am left with a few hundred virtual servers that have grant permission 75, i need to delete from all the server admin groups, is there an sql query that will remove them ?

i have this query that will remove the groups but it will not remove the grant permission attached to each one, is there anything i can add to it that will also remove the grant permission, to another way would be changing the grant permission to 100 ?

it leaves the admin query group alone as intended.

trouble is now i have ran this query you can enable it thanks to the grant permission set to 75

DELETE FROM perm_server_group WHERE perm =  "b_permission_modify_power_ignore" AND id1 != 2;