Query failed: 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 '2007' at line 32
SELECT `article`.`title`, `article`.`date_published`, `article`.`author`, `article`.`staff_id`, `article`.`author_relationship`, `article`.`geographic_loc`, `article`.`syndicated_by`, `article`.`description`, `article`.`brief`, `article`.`keywords`, `article`.`has_content`, `staff`.`email`, `staff`.`screen_name`, `staff`.`first_name`, `staff`.`last_name`, `article`.`first_display_date`, `article`.`category_id`, `article`.`subcategory_id`, `article`.`last_display_date`, `article`.`on_homepage`, `article`.`on_ticker`, `category`.`name` AS category_name, `subcategory`.`name` AS subcategory_name, `article`.`position`, `article`.`homepage_position`, `article`.`allow_comments` FROM `article` INNER JOIN `subcategory` ON `article`.`subcategory_id`=`subcategory`.`subcategory_id` INNER JOIN `category` ON `subcategory`.`category_id`=`category`.`category_id` LEFT JOIN `staff` ON `article`.`staff_id`=`staff`.`staff_id` WHERE `article_id`=6286 2007