SELECT * FROM `oc_activity` WHERE (`affecteduser` = 'Erika Villalobos') AND (`type` IN ('file_created', 'file_changed', 'file_deleted', 'file_restored', 'file_renamed', 'file_moved', 'shared', 'remote_share', 'public_links', 'comments', 'systemtags')) ORDER BY `timestamp` DESC, `activity_id` DESC LIMIT 31