A Database Error Occurred
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') as ut group by item_id) as gb WHERE item_count=0) as it ON `it`.`item_id` = `i' at line 3
SELECT `i`.* FROM (`feed_items` i) JOIN (SELECT item_id FROM (SELECT item_id, count(item_id) as item_count FROM () as ut group by item_id) as gb WHERE item_count=0) as it ON `it`.`item_id` = `i`.`id` WHERE `pubDate` <= '10-07-30' AND `itemDate` >= '2009-07-29' AND ((expireDate is null) OR (expireDate >'10-07-30')) AND `visible` = 1 ORDER BY `itemDate` desc