Amergin was the High Druid of Avalon and was its sole defender against the threat of the extra-dimensional Fomor. In 1194 CE Amergin, with the help of the the modern heroes the Black Knight and the Avengers, who had traveled back in time, managed to defeat the Fomor. Amergin was instrumental in getting the Black Knight's spirit back into his modern body; he'd been trapped in the body of his 12th century ancestor before this. Amergin died in battle against the Fomor.
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 '' at line 15SELECT
if(cpz1.active = 1 AND CURDATE() BETWEEN cpz1.start_date AND cpz1.end_date,1,0) as dc_is_live
JOIN marvel_content.character_relations chr ON chr.content_id = col.story_id AND chr.content_type = 'comic_story'
JOIN catalog.issues i ON i.issue_id = col.issue_id
LEFT join marvel.dotcomics_issues dci ON dci.catalog_id = i.issue_id AND dci.qa_by <> 0
JOIN marvel_content.content_relations cr ON cr.content_id = dci.dotcomics_issue_id AND cr.content_type = 'digitalcomic'
JOIN marvel_content.content_publication_zones cpz1 ON cpz1.content_id = chr.content_id AND cpz1.content_type = chr.content_type
JOIN marvel_content.publication_zones pz1 ON pz1.id = cpz1.publication_zone_id AND pz1.name = 'marvel_site_zone'
cpz1.active = 1 AND '2014-10-21 02:19:25' BETWEEN cpz1.start_date AND cpz1.end_date
AND chr.character_id =