DATABASE ERROR:
SELECT i.* , AVG( r.points ) AS rating
                    FROM cms_work_items i
                    LEFT JOIN cms_work_ratings r ON r.item_id = i.id
                    WHERE i.published = 1 AND i.pubdate<'2024-12-22 06:12:01' AND i.category_id = 1001 AND UPPER(LTRIM(i.title)) LIKE UPPER('Ð%')
                    GROUP BY i.id ORDER BY title desc
Query 'SELECT i.* , AVG( r.points ) AS rating FROM cms_work_items i LEFT JOIN cms_work_ratings r ON r.item_id = i.id WHERE i.published = 1 AND i.pubdate<'2024-12-22 06:12:01' AND i.category_id = 1001 AND UPPER(LTRIM(i.title)) LIKE UPPER('Ð%') GROUP BY i.id ORDER BY title desc' failed