Unknown column 'agroturismos' in 'where clause': SELECT * FROM propiedades WHERE id = agroturismos ORDER BY alta DESC