Invalid query: Whole query: SELECT news.*, sources.name as source_name FROM news INNER JOIN sources ON news.source_id = sources.id WHERE news.id = 639718 AND analyzed = 1