I'm looking for a MySQL query to achieve this purpose:
Change the role of users that never posted and have registered before at least 60 days.
The role to be changed to is a new role to be created named "spam".
After that I'm going to mass delete these users, but I want to check them first by filtering users in that role before I go.