UPDATE user SET usergroupid = 2 WHERE usergroupid = 6

Bu kodla değiştirebilirsiniz.

2 ve 6 olan yerlere üye grup id'leri yazılacak.