Unknown column 'hotels.png' in 'where clause': SELECT * FROM blog_posts WHERE subcategoria_id = hotels.png