DANG DUNG PHAN TRANG NAY: SELECT a.id FROM tbl_article a JOIN tbl_article_related_topic art ON a.id=art.article_id INNER JOIN tbl_article_categories ac ON (a.id=ac.article_id) WHERE article_processing_status=50 AND is_hidden=0 AND article_publish_time_flag=0 AND art.topic_id = 392