-
Select
am.article_id,
article_homepage_headline,
article_page_url,
article_short_description,
article_epoch,
article_date1,
article_date,
article_time_r,
category_id,
(select cm.category_master_name from category_master cm where cm.category_master_id=am.category_id and cm.active='Y') as category_name,
sub_category_id,
(select scm.sub_category_master_name from sub_category_master scm where scm.sub_category_master_id=am.sub_category_id and scm.active='Y') as sub_category_name,
article_image,
article_image2,
article_image_caption from article_master_206m am where (am.article_homepage_headline LIKE '%donald trump%' OR am.article_keywords LIKE '%donald trump%' OR am.article_tags LIKE '%donald trump%' OR am.article_byline LIKE '%donald trump%' OR am.article_byline1 LIKE '%donald trump%') and am.article_id != 19234196 order by am.article_epoch DESC LIMIT 0,5
Error