SELECT 'article' AS `type`, 'article' AS `path`, `article_from`, `article_order`, `article_id`, `article_new`, `article_name`, '' AS `article_subname`, `article_short`, `article_content`, 0 AS `pre`, `article_image` FROM `articles` WHERE `article_from`<=? AND `article_home`="y" AND article_author LIKE ? UNION SELECT 'event' AS `type`, 'event' AS `path`, `event_date` AS `article_from`, `event_order` AS `article_order`, `event_id` AS `article_id`, `event_new` AS `article_new`, `event_name` AS `article_name`, '' AS `article_subname`, `event_short` AS `article_short`, `event_content` AS `article_content`, 0 AS `pre`, `event_image` AS `article_image` FROM `events` WHERE `event_id`>? AND `event_from`>=CURDATE() AND `event_home`="y" ORDER BY `pre` ASC, `article_from` DESC, `article_order` ASC,`type` ASC LIMIT -1,4 MDB2 Error: syntax error