I'm cleaning up my database and I want to get rid of all user accounts that never posted and are inactive since 1 year.
Who can help me with the last part (inactive since 1 year) ?
Thanks
Code:
DELETE FROM `user` WHERE `usergroupid`=6 and `posts`=0 and ???
Thanks
Comment